From 1e076321bcd41a58ff99e2b47a4db501766e0cec Mon Sep 17 00:00:00 2001 From: keiravillekode Date: Wed, 25 Dec 2024 13:23:03 +1100 Subject: [PATCH] Sort exercises (#326) Increased the difficulty of some exercises --- config.json | 559 ++++++++++++++++++++++++++-------------------------- 1 file changed, 279 insertions(+), 280 deletions(-) diff --git a/config.json b/config.json index d0e6984..c455a82 100644 --- a/config.json +++ b/config.json @@ -34,6 +34,24 @@ }, "exercises": { "practice": [ + { + "slug": "accumulate", + "name": "Accumulate", + "uuid": "333c2cb9-f03c-473c-9eeb-096072a321b2", + "practices": [], + "prerequisites": [], + "difficulty": 1, + "status": "deprecated" + }, + { + "slug": "binary", + "name": "Binary", + "uuid": "225cfd7d-81a3-4a58-b1aa-1de2e40e7a93", + "practices": [], + "prerequisites": [], + "difficulty": 1, + "status": "deprecated" + }, { "slug": "hello-world", "name": "Hello World", @@ -59,296 +77,295 @@ "difficulty": 1 }, { - "slug": "scrabble-score", - "name": "Scrabble Score", - "uuid": "cc6e7e8d-84f8-4b85-8f5e-7a68b3b34b1f", - "practices": [], - "prerequisites": [], - "difficulty": 3 - }, - { - "slug": "space-age", - "name": "Space Age", - "uuid": "2dba41bc-5b83-4406-b2b3-6280c3e31ed7", + "slug": "acronym", + "name": "Acronym", + "uuid": "937616ce-696b-4845-b06c-365a58ca46d2", "practices": [], "prerequisites": [], - "difficulty": 3, + "difficulty": 2, "topics": [ - "floats" + "lists", + "strings", + "text_formatting" ] }, { - "slug": "strain", - "name": "Strain", - "uuid": "e929f6cf-04f8-41dd-b333-69be7b06d857", + "slug": "affine-cipher", + "name": "Affine Cipher", + "uuid": "8a335321-d6fd-4d6c-bd77-4f5d878a5b3c", "practices": [], "prerequisites": [], - "difficulty": 3, + "difficulty": 2, "topics": [ - "lists" + "math" ] }, { - "slug": "pangram", - "name": "Pangram", - "uuid": "d17ab3c6-82a1-413e-9018-8775ec9ea498", + "slug": "allergies", + "name": "Allergies", + "uuid": "7be1122c-33cd-40ed-a70f-c71a6713c47a", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2 }, { - "slug": "collatz-conjecture", - "name": "Collatz Conjecture", - "uuid": "6170f05b-358b-487a-b5ae-4424af422d8e", + "slug": "armstrong-numbers", + "name": "Armstrong Numbers", + "uuid": "e1131c5f-f0a1-4cce-aa24-6fb4e265824a", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 2, "topics": [ "math" ] }, { - "slug": "isbn-verifier", - "name": "Isbn Verifier", - "uuid": "38a13f45-9e80-4322-b896-d2cf06add3f9", + "slug": "bob", + "name": "Bob", + "uuid": "4fb40e77-727b-41bc-ac15-b909a26bb917", "practices": [], "prerequisites": [], - "difficulty": 3 + "difficulty": 2 }, { - "slug": "kindergarten-garden", - "name": "Kindergarten Garden", - "uuid": "7d74175b-a2c6-4e77-a908-ebcbcf1e29b6", + "slug": "collatz-conjecture", + "name": "Collatz Conjecture", + "uuid": "6170f05b-358b-487a-b5ae-4424af422d8e", "practices": [], "prerequisites": [], - "difficulty": 3 + "difficulty": 2, + "topics": [ + "math" + ] }, { - "slug": "secret-handshake", - "name": "Secret Handshake", - "uuid": "55048224-25dc-4c91-b4f4-1ea1bacdd87f", + "slug": "darts", + "name": "Darts", + "uuid": "90237a3f-595a-4238-bcef-46d6f84b0945", "practices": [], "prerequisites": [], - "difficulty": 3 + "difficulty": 2 }, { - "slug": "matching-brackets", - "name": "Matching Brackets", - "uuid": "67108540-cdc3-46df-81f9-6bd8d3580575", + "slug": "difference-of-squares", + "name": "Difference of Squares", + "uuid": "580496d5-bec7-401d-b0cf-dc16da795491", "practices": [], "prerequisites": [], - "difficulty": 4, + "difficulty": 2, "topics": [ - "stacks" + "math" ] }, { - "slug": "matrix", - "name": "Matrix", - "uuid": "892922b8-1616-41f5-9faa-11eb0f776cce", + "slug": "eliuds-eggs", + "name": "Eliud's Eggs", + "uuid": "76d154fe-a39c-4d0e-a43a-f18e36388c83", "practices": [], "prerequisites": [], - "difficulty": 4, - "topics": [ - "lists" - ] + "difficulty": 2 }, { - "slug": "run-length-encoding", - "name": "Run Length Encoding", - "uuid": "d9213e16-f49a-43c1-bae7-2e5283c512d4", + "slug": "flatten-array", + "name": "Flatten Array", + "uuid": "fb0a030d-33bc-4066-a30a-1b8b02cc42f1", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 2 }, { - "slug": "square-root", - "name": "Square Root", - "uuid": "8f79d2ac-2407-4bba-91a8-6a47737e7f36", + "slug": "grains", + "name": "Grains", + "uuid": "1759636a-eeb0-42e9-98af-01cf4c738700", "practices": [], "prerequisites": [], - "difficulty": 4, + "difficulty": 2, "topics": [ "math" ] }, { - "slug": "allergies", - "name": "Allergies", - "uuid": "7be1122c-33cd-40ed-a70f-c71a6713c47a", + "slug": "hamming", + "name": "Hamming", + "uuid": "ce5dd1a4-7c90-48e4-b260-d2b62f29fbaf", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2 }, { - "slug": "binary", - "name": "Binary", - "uuid": "225cfd7d-81a3-4a58-b1aa-1de2e40e7a93", + "slug": "nucleotide-count", + "name": "Nucleotide Count", + "uuid": "4ce578b2-9cfb-498b-947f-79f97abeb224", "practices": [], "prerequisites": [], - "difficulty": 1, - "status": "deprecated" + "difficulty": 2 }, { - "slug": "accumulate", - "name": "Accumulate", - "uuid": "333c2cb9-f03c-473c-9eeb-096072a321b2", + "slug": "pangram", + "name": "Pangram", + "uuid": "d17ab3c6-82a1-413e-9018-8775ec9ea498", "practices": [], "prerequisites": [], - "difficulty": 1, - "status": "deprecated" + "difficulty": 2 }, { - "slug": "all-your-base", - "name": "All Your Base", - "uuid": "7e1d0e9a-435d-4dc6-8867-2fc4f9b7fe6f", + "slug": "pascals-triangle", + "name": "Pascal's Triangle", + "uuid": "bc381243-73cb-42bf-91d8-d33d6215e579", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 2, "topics": [ "math" ] }, { - "slug": "anagram", - "name": "Anagram", - "uuid": "216334c2-bdb5-481a-a22b-20ac088f20e9", + "slug": "rna-transcription", + "name": "RNA Transcription", + "uuid": "db3e09ee-6c93-417f-b0a0-196cdccf4984", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2 }, { - "slug": "atbash-cipher", - "name": "Atbash Cipher", - "uuid": "0f488d4b-89da-4d1f-958b-a7b3171f43d5", + "slug": "raindrops", + "name": "Raindrops", + "uuid": "76b1e1d1-2360-487c-89be-37f9780540b7", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2 }, { - "slug": "bob", - "name": "Bob", - "uuid": "4fb40e77-727b-41bc-ac15-b909a26bb917", + "slug": "resistor-color", + "name": "Resistor Color", + "uuid": "85f16b58-019f-44f7-bb33-b2903886f199", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2 }, { - "slug": "diamond", - "name": "Diamond", - "uuid": "f7ea4ee6-cd34-4dc9-bd96-abcf940873f0", + "slug": "reverse-string", + "name": "Reverse String", + "uuid": "86d5a60a-fc44-443d-bc00-5c6265e736c4", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 2, "topics": [ "lists", - "strings", - "text_formatting" + "strings" ] }, { - "slug": "difference-of-squares", - "name": "Difference of Squares", - "uuid": "580496d5-bec7-401d-b0cf-dc16da795491", + "slug": "sum-of-multiples", + "name": "Sum of Multiples", + "uuid": "4bce27a8-2b91-4595-b6e6-d4be7e704113", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 2, "topics": [ "math" ] }, { - "slug": "flatten-array", - "name": "Flatten Array", - "uuid": "fb0a030d-33bc-4066-a30a-1b8b02cc42f1", + "slug": "triangle", + "name": "Triangle", + "uuid": "c49dec99-cccc-418c-9de9-b9856f1b749b", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2, + "topics": [ + "math", + "logic" + ] }, { - "slug": "wordy", - "name": "Wordy", - "uuid": "093172fd-426c-46dc-a70e-a5f2e877970d", + "slug": "anagram", + "name": "Anagram", + "uuid": "216334c2-bdb5-481a-a22b-20ac088f20e9", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 3 }, { - "slug": "hamming", - "name": "Hamming", - "uuid": "ce5dd1a4-7c90-48e4-b260-d2b62f29fbaf", + "slug": "atbash-cipher", + "name": "Atbash Cipher", + "uuid": "0f488d4b-89da-4d1f-958b-a7b3171f43d5", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 3 }, { - "slug": "list-ops", - "name": "List Ops", - "uuid": "c8b94fa9-d758-4dca-b7fc-7a130061e064", + "slug": "binary-search", + "name": "Binary Search", + "uuid": "afa5857c-bc9f-492c-a49e-1fbc06a613ab", "practices": [], "prerequisites": [], - "difficulty": 4, - "topics": [ - "lists" - ] + "difficulty": 3 }, { - "slug": "nth-prime", - "name": "Nth Prime", - "uuid": "cfd7a0bc-4b94-402a-9e8e-d81cd4ddecfd", + "slug": "isbn-verifier", + "name": "Isbn Verifier", + "uuid": "38a13f45-9e80-4322-b896-d2cf06add3f9", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 3 + }, + { + "slug": "isogram", + "name": "Isogram", + "uuid": "ae8fa578-1308-44b2-8e71-d7566553379c", + "practices": [], + "prerequisites": [], + "difficulty": 3, "topics": [ - "math" + "strings" ] }, { - "slug": "transpose", - "name": "Transpose", - "uuid": "5184de5a-4772-4389-aa3c-b1117b601450", + "slug": "kindergarten-garden", + "name": "Kindergarten Garden", + "uuid": "7d74175b-a2c6-4e77-a908-ebcbcf1e29b6", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 3 }, { - "slug": "perfect-numbers", - "name": "Perfect Numbers", - "uuid": "8ccc61c6-fac5-4af7-803e-d0f6d10f8a1f", + "slug": "largest-series-product", + "name": "Largest Series Product", + "uuid": "ac954648-3670-4268-9cf2-907d8588efe1", "practices": [], "prerequisites": [], - "difficulty": 1, - "topics": [ - "math" - ] + "difficulty": 3 }, { - "slug": "armstrong-numbers", - "name": "Armstrong Numbers", - "uuid": "e1131c5f-f0a1-4cce-aa24-6fb4e265824a", + "slug": "perfect-numbers", + "name": "Perfect Numbers", + "uuid": "8ccc61c6-fac5-4af7-803e-d0f6d10f8a1f", "practices": [], "prerequisites": [], - "difficulty": 2, + "difficulty": 3, "topics": [ "math" ] }, { - "slug": "nucleotide-count", - "name": "Nucleotide Count", - "uuid": "4ce578b2-9cfb-498b-947f-79f97abeb224", + "slug": "phone-number", + "name": "Phone Number", + "uuid": "f923bffb-109f-4257-957c-cea8cae2d5c5", "practices": [], "prerequisites": [], - "difficulty": 2, - "topics": [] - }, - { - "slug": "eliuds-eggs", - "name": "Eliud's Eggs", - "uuid": "76d154fe-a39c-4d0e-a43a-f18e36388c83", + "difficulty": 3 + }, + { + "slug": "prime-factors", + "name": "Prime Factors", + "uuid": "e8ed5a0f-796c-4a1b-af7a-2502254d79a8", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 3, + "topics": [ + "math" + ] }, { "slug": "protein-translation", @@ -370,175 +387,180 @@ ] }, { - "slug": "phone-number", - "name": "Phone Number", - "uuid": "f923bffb-109f-4257-957c-cea8cae2d5c5", + "slug": "scrabble-score", + "name": "Scrabble Score", + "uuid": "cc6e7e8d-84f8-4b85-8f5e-7a68b3b34b1f", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 3 }, { - "slug": "binary-search", - "name": "Binary Search", - "uuid": "afa5857c-bc9f-492c-a49e-1fbc06a613ab", + "slug": "secret-handshake", + "name": "Secret Handshake", + "uuid": "55048224-25dc-4c91-b4f4-1ea1bacdd87f", "practices": [], "prerequisites": [], "difficulty": 3 }, { - "slug": "isogram", - "name": "Isogram", - "uuid": "ae8fa578-1308-44b2-8e71-d7566553379c", + "slug": "space-age", + "name": "Space Age", + "uuid": "2dba41bc-5b83-4406-b2b3-6280c3e31ed7", "practices": [], "prerequisites": [], "difficulty": 3, "topics": [ - "strings" + "floats" ] }, { - "slug": "luhn", - "name": "Luhn", - "uuid": "18e982ac-3e1e-497b-bfa0-04209223bb30", + "slug": "strain", + "name": "Strain", + "uuid": "e929f6cf-04f8-41dd-b333-69be7b06d857", "practices": [], "prerequisites": [], - "difficulty": 4, + "difficulty": 3, "topics": [ - "strings" + "lists" ] }, { - "slug": "pig-latin", - "name": "Pig Latin", - "uuid": "c257cb38-ed8d-473f-b02a-5dd8131fdc63", + "slug": "all-your-base", + "name": "All Your Base", + "uuid": "7e1d0e9a-435d-4dc6-8867-2fc4f9b7fe6f", "practices": [], "prerequisites": [], "difficulty": 4, "topics": [ - "lists", - "strings", - "text_formatting" + "math" ] }, { - "slug": "prime-factors", - "name": "Prime Factors", - "uuid": "e8ed5a0f-796c-4a1b-af7a-2502254d79a8", + "slug": "diamond", + "name": "Diamond", + "uuid": "f7ea4ee6-cd34-4dc9-bd96-abcf940873f0", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 4, "topics": [ - "math" + "lists", + "strings", + "text_formatting" ] }, { - "slug": "raindrops", - "name": "Raindrops", - "uuid": "76b1e1d1-2360-487c-89be-37f9780540b7", + "slug": "gigasecond", + "name": "Gigasecond", + "uuid": "788844da-ac1d-4bb9-a680-3aef6f8a11c8", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 4, + "topics": [ + "date", + "strings" + ] }, { - "slug": "resistor-color", - "name": "Resistor Color", - "uuid": "85f16b58-019f-44f7-bb33-b2903886f199", + "slug": "list-ops", + "name": "List Ops", + "uuid": "c8b94fa9-d758-4dca-b7fc-7a130061e064", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 4, + "topics": [ + "lists" + ] }, { - "slug": "rna-transcription", - "name": "RNA Transcription", - "uuid": "db3e09ee-6c93-417f-b0a0-196cdccf4984", + "slug": "luhn", + "name": "Luhn", + "uuid": "18e982ac-3e1e-497b-bfa0-04209223bb30", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 4, + "topics": [ + "strings" + ] }, { - "slug": "pythagorean-triplet", - "name": "Pythagorean Triplet", - "uuid": "203470a2-f80c-4d6c-8ea4-7d09d7bfb509", + "slug": "matching-brackets", + "name": "Matching Brackets", + "uuid": "67108540-cdc3-46df-81f9-6bd8d3580575", "practices": [], "prerequisites": [], - "difficulty": 5, + "difficulty": 4, "topics": [ - "math" + "stacks" ] }, { - "slug": "roman-numerals", - "name": "Roman Numerals", - "uuid": "b4359037-8457-49ea-ac33-44710ada3b4d", + "slug": "matrix", + "name": "Matrix", + "uuid": "892922b8-1616-41f5-9faa-11eb0f776cce", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 4, + "topics": [ + "lists" + ] }, { - "slug": "sum-of-multiples", - "name": "Sum of Multiples", - "uuid": "4bce27a8-2b91-4595-b6e6-d4be7e704113", + "slug": "nth-prime", + "name": "Nth Prime", + "uuid": "cfd7a0bc-4b94-402a-9e8e-d81cd4ddecfd", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 4, "topics": [ "math" ] }, { - "slug": "reverse-string", - "name": "Reverse String", - "uuid": "86d5a60a-fc44-443d-bc00-5c6265e736c4", + "slug": "pig-latin", + "name": "Pig Latin", + "uuid": "c257cb38-ed8d-473f-b02a-5dd8131fdc63", "practices": [], "prerequisites": [], - "difficulty": 1, + "difficulty": 4, "topics": [ "lists", - "strings" + "strings", + "text_formatting" ] }, { - "slug": "acronym", - "name": "Acronym", - "uuid": "937616ce-696b-4845-b06c-365a58ca46d2", + "slug": "queen-attack", + "name": "Queen Attack", + "uuid": "a503a4e2-b6eb-4ab0-ac67-8b136157f3dd", "practices": [], "prerequisites": [], - "difficulty": 1, - "topics": [ - "lists", - "strings", - "text_formatting" - ] + "difficulty": 4 }, { - "slug": "affine-cipher", - "name": "Affine Cipher", - "uuid": "8a335321-d6fd-4d6c-bd77-4f5d878a5b3c", + "slug": "run-length-encoding", + "name": "Run Length Encoding", + "uuid": "d9213e16-f49a-43c1-bae7-2e5283c512d4", "practices": [], "prerequisites": [], - "difficulty": 2, - "topics": [ - "math" - ] + "difficulty": 4 }, { - "slug": "darts", - "name": "Darts", - "uuid": "90237a3f-595a-4238-bcef-46d6f84b0945", + "slug": "sieve", + "name": "Sieve", + "uuid": "f0274c1a-f0dc-4aa5-8517-3afd27c65fe8", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 4 }, { - "slug": "gigasecond", - "name": "Gigasecond", - "uuid": "788844da-ac1d-4bb9-a680-3aef6f8a11c8", + "slug": "square-root", + "name": "Square Root", + "uuid": "8f79d2ac-2407-4bba-91a8-6a47737e7f36", "practices": [], "prerequisites": [], "difficulty": 4, "topics": [ - "date", - "strings" + "math" ] }, { @@ -553,62 +575,55 @@ ] }, { - "slug": "largest-series-product", - "name": "Largest Series Product", - "uuid": "ac954648-3670-4268-9cf2-907d8588efe1", + "slug": "yacht", + "name": "Yacht", + "uuid": "c4a24f88-febd-4955-a08d-67895a3d119f", "practices": [], "prerequisites": [], - "difficulty": 3 + "difficulty": 4 }, { - "slug": "queen-attack", - "name": "Queen Attack", - "uuid": "a503a4e2-b6eb-4ab0-ac67-8b136157f3dd", + "slug": "knapsack", + "name": "Knapsack", + "uuid": "4aaa8cbf-a48e-475a-a986-bd2cc3468e67", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 5 }, { - "slug": "yacht", - "name": "Yacht", - "uuid": "c4a24f88-febd-4955-a08d-67895a3d119f", + "slug": "pythagorean-triplet", + "name": "Pythagorean Triplet", + "uuid": "203470a2-f80c-4d6c-8ea4-7d09d7bfb509", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 5, + "topics": [ + "math" + ] }, { - "slug": "triangle", - "name": "Triangle", - "uuid": "c49dec99-cccc-418c-9de9-b9856f1b749b", + "slug": "roman-numerals", + "name": "Roman Numerals", + "uuid": "b4359037-8457-49ea-ac33-44710ada3b4d", "practices": [], "prerequisites": [], - "difficulty": 1, - "topics": [ - "math", - "logic" - ] + "difficulty": 5 }, { - "slug": "grains", - "name": "Grains", - "uuid": "1759636a-eeb0-42e9-98af-01cf4c738700", + "slug": "transpose", + "name": "Transpose", + "uuid": "5184de5a-4772-4389-aa3c-b1117b601450", "practices": [], "prerequisites": [], - "difficulty": 2, - "topics": [ - "math" - ] + "difficulty": 5 }, { - "slug": "pascals-triangle", - "name": "Pascal's Triangle", - "uuid": "bc381243-73cb-42bf-91d8-d33d6215e579", + "slug": "wordy", + "name": "Wordy", + "uuid": "093172fd-426c-46dc-a70e-a5f2e877970d", "practices": [], "prerequisites": [], - "difficulty": 2, - "topics": [ - "math" - ] + "difficulty": 5 }, { "slug": "palindrome-products", @@ -625,22 +640,6 @@ "practices": [], "prerequisites": [], "difficulty": 8 - }, - { - "slug": "knapsack", - "name": "Knapsack", - "uuid": "4aaa8cbf-a48e-475a-a986-bd2cc3468e67", - "practices": [], - "prerequisites": [], - "difficulty": 5 - }, - { - "slug": "sieve", - "name": "Sieve", - "uuid": "f0274c1a-f0dc-4aa5-8517-3afd27c65fe8", - "practices": [], - "prerequisites": [], - "difficulty": 4 } ], "foregone": [