From 396b728ba3cee36f1111f47d4c4b561990cf06da Mon Sep 17 00:00:00 2001 From: Adrien-ANTON-LUDWIG Date: Fri, 2 Jun 2023 23:49:12 +0000 Subject: [PATCH 1/2] Sort excercises by difficulty then alphabetically --- config.json | 294 ++++++++++++++++++++++++++-------------------------- 1 file changed, 147 insertions(+), 147 deletions(-) diff --git a/config.json b/config.json index 9e3dba8..ca1109e 100644 --- a/config.json +++ b/config.json @@ -65,14 +65,6 @@ "prerequisites": [], "difficulty": 1 }, - { - "slug": "allergies", - "name": "Allergies", - "uuid": "46b0292a-0e22-4e4d-9934-7c166d86a919", - "practices": [], - "prerequisites": [], - "difficulty": 4 - }, { "slug": "armstrong-numbers", "name": "Armstrong Numbers", @@ -82,132 +74,116 @@ "difficulty": 1 }, { - "slug": "bowling", - "name": "Bowling", - "uuid": "37c049f1-f83a-4b5d-a813-7347fa2b54a3", - "practices": [], - "prerequisites": [], - "difficulty": 8 - }, - { - "slug": "clock", - "name": "Clock", - "uuid": "db98cc14-f1db-40f6-a5d0-d5c151c98570", - "practices": [], - "prerequisites": [], - "difficulty": 4 - }, - { - "slug": "crypto-square", - "name": "Crypto Square", - "uuid": "0099a6d9-881a-458e-930e-506242e62d1c", + "slug": "collatz-conjecture", + "name": "Collatz Conjecture", + "uuid": "5be182a1-5f3a-4b93-aac4-1619508b6052", "practices": [], "prerequisites": [], - "difficulty": 7 + "difficulty": 1 }, { - "slug": "change", - "name": "Change", - "uuid": "0325c948-8f14-4bc5-8f75-8759c024e24b", + "slug": "hello-world", + "name": "Hello World", + "uuid": "151ebc38-659c-4752-b51c-cc7d1d7b1ef4", "practices": [], "prerequisites": [], - "difficulty": 6 + "difficulty": 1 }, { - "slug": "collatz-conjecture", - "name": "Collatz Conjecture", - "uuid": "5be182a1-5f3a-4b93-aac4-1619508b6052", + "slug": "leap", + "name": "Leap", + "uuid": "d2bbc189-f4c8-46b9-8616-a28e3d946bde", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "darts", - "name": "Darts", - "uuid": "3a82983f-9b8c-4b61-973c-5a40dd2fc708", + "slug": "nucleotide-count", + "name": "Nucleotide Count", + "uuid": "da6e2fd6-1d81-4ccc-8030-16065fef548b", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 1 }, { - "slug": "diamond", - "name": "Diamond", - "uuid": "4549e619-87dd-4ba3-b89c-6f3359a25d7c", + "slug": "rna-transcription", + "name": "RNA Transcription", + "uuid": "0b4e2dbd-7a5e-4a3d-b13d-9138518d9a63", "practices": [], "prerequisites": [], - "difficulty": 7 + "difficulty": 1 }, { - "slug": "all-your-base", - "name": "All Your Base", - "uuid": "4122377f-1ddc-4733-98c1-bd52e67de95d", + "slug": "space-age", + "name": "Space Age", + "uuid": "06c1d4b6-1262-474b-80b4-6e779fa11743", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 1 }, { - "slug": "hello-world", - "name": "Hello World", - "uuid": "151ebc38-659c-4752-b51c-cc7d1d7b1ef4", + "slug": "sum-of-multiples", + "name": "Sum Of Multiples", + "uuid": "0fbe5e82-b563-4360-8957-e3a543eb3184", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "leap", - "name": "Leap", - "uuid": "d2bbc189-f4c8-46b9-8616-a28e3d946bde", + "slug": "run-length-encoding", + "name": "Run Length Encoding", + "uuid": "f544ddc2-efb7-4dff-994f-9c2578c68414", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "matching-brackets", - "name": "Matching Brackets", - "uuid": "eccd26dc-6826-4d9e-868a-e1d640e57d3b", + "slug": "reverse-string", + "name": "Reverse String", + "uuid": "b1327f91-8568-4d80-b5ff-b043250cc819", "practices": [], "prerequisites": [], - "difficulty": 8 + "difficulty": 1 }, { - "slug": "majority-element", - "name": "Majority Element", - "uuid": "5975f00d-8a77-4240-91c1-1fedb41c2adb", + "slug": "difference-of-squares", + "name": "Difference of Squares", + "uuid": "a9022ecf-0811-4807-8d8e-29da4c684d6b", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 1 }, { - "slug": "nucleotide-count", - "name": "Nucleotide Count", - "uuid": "da6e2fd6-1d81-4ccc-8030-16065fef548b", + "slug": "etl", + "name": "ETL", + "uuid": "2d8bec01-cecb-4f8b-91c9-f887e6aa9689", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "rna-transcription", - "name": "RNA Transcription", - "uuid": "0b4e2dbd-7a5e-4a3d-b13d-9138518d9a63", + "slug": "bob", + "name": "Bob", + "uuid": "66a4dd87-5397-4125-a002-271b750ac32a", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "rotational-cipher", - "name": "Rotational Cipher", - "uuid": "48003454-b404-4b39-a0d9-78106fd5a11a", + "slug": "isogram", + "name": "Isogram", + "uuid": "c7f87c99-5e61-4887-909e-eefcbd6a4183", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 1 }, { - "slug": "scale-generator", - "name": "Scale Generator", - "uuid": "d83fd7ee-2eff-41d5-8a7c-e3893a969150", + "slug": "darts", + "name": "Darts", + "uuid": "3a82983f-9b8c-4b61-973c-5a40dd2fc708", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 2 }, { "slug": "sieve", @@ -218,36 +194,36 @@ "difficulty": 2 }, { - "slug": "simple-linked-list", - "name": "Simple Linked List", - "uuid": "3a377fd7-2f66-4326-94f5-e3e05133c252", + "slug": "raindrops", + "name": "Raindrops", + "uuid": "996061d4-9b39-4a69-8002-d45dbb84d32f", "practices": [], "prerequisites": [], - "difficulty": 4 + "difficulty": 2 }, { - "slug": "space-age", - "name": "Space Age", - "uuid": "06c1d4b6-1262-474b-80b4-6e779fa11743", + "slug": "protein-translation", + "name": "Protein Translation", + "uuid": "0ed31b68-a411-4819-a501-d46b5b31e069", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 2 }, { - "slug": "spiral-matrix", - "name": "Spiral Matrix", - "uuid": "e12d9757-b6fe-45ff-ab31-b18df42c3f0a", + "slug": "roman-numerals", + "name": "Roman Numerals", + "uuid": "d542ca66-4c3a-45ad-b7fd-ce8d8656aee8", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 2 }, { - "slug": "stream-ops", - "name": "Stream Ops", - "uuid": "56c6f521-3567-4f35-8f73-c675d14aaa4b", + "slug": "largest-series-product", + "name": "Largest Series Product", + "uuid": "04dcaeca-77f8-4f4d-9641-792559d58aee", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 2 }, { "slug": "sublist", @@ -258,76 +234,84 @@ "difficulty": 3 }, { - "slug": "sum-of-multiples", - "name": "Sum Of Multiples", - "uuid": "0fbe5e82-b563-4360-8957-e3a543eb3184", + "slug": "allergies", + "name": "Allergies", + "uuid": "46b0292a-0e22-4e4d-9934-7c166d86a919", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 4 }, { - "slug": "raindrops", - "name": "Raindrops", - "uuid": "996061d4-9b39-4a69-8002-d45dbb84d32f", + "slug": "clock", + "name": "Clock", + "uuid": "db98cc14-f1db-40f6-a5d0-d5c151c98570", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 4 }, { - "slug": "run-length-encoding", - "name": "Run Length Encoding", - "uuid": "f544ddc2-efb7-4dff-994f-9c2578c68414", + "slug": "all-your-base", + "name": "All Your Base", + "uuid": "4122377f-1ddc-4733-98c1-bd52e67de95d", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 4 }, { - "slug": "queen-attack", - "name": "Queen Attack", - "uuid": "81cd43cd-022c-4f68-84f3-1c687f686c29", + "slug": "majority-element", + "name": "Majority Element", + "uuid": "5975f00d-8a77-4240-91c1-1fedb41c2adb", "practices": [], "prerequisites": [], - "difficulty": 5 + "difficulty": 4 }, { - "slug": "zebra-puzzle", - "name": "Zebra Puzzle", - "uuid": "642e8ce3-9cb2-4acb-a330-8385dfa40d92", + "slug": "scale-generator", + "name": "Scale Generator", + "uuid": "d83fd7ee-2eff-41d5-8a7c-e3893a969150", "practices": [], "prerequisites": [], - "difficulty": 10 + "difficulty": 4 }, { - "slug": "zipper", - "name": "Zipper", - "uuid": "49dcbf18-2024-499c-a951-ed009f97ef8f", + "slug": "simple-linked-list", + "name": "Simple Linked List", + "uuid": "3a377fd7-2f66-4326-94f5-e3e05133c252", "practices": [], "prerequisites": [], - "difficulty": 9 + "difficulty": 4 }, { - "slug": "reverse-string", - "name": "Reverse String", - "uuid": "b1327f91-8568-4d80-b5ff-b043250cc819", + "slug": "rotational-cipher", + "name": "Rotational Cipher", + "uuid": "48003454-b404-4b39-a0d9-78106fd5a11a", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 5 }, { - "slug": "protein-translation", - "name": "Protein Translation", - "uuid": "0ed31b68-a411-4819-a501-d46b5b31e069", + "slug": "spiral-matrix", + "name": "Spiral Matrix", + "uuid": "e12d9757-b6fe-45ff-ab31-b18df42c3f0a", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 5 }, { - "slug": "difference-of-squares", - "name": "Difference of Squares", - "uuid": "a9022ecf-0811-4807-8d8e-29da4c684d6b", + "slug": "stream-ops", + "name": "Stream Ops", + "uuid": "56c6f521-3567-4f35-8f73-c675d14aaa4b", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 5 + }, + { + "slug": "queen-attack", + "name": "Queen Attack", + "uuid": "81cd43cd-022c-4f68-84f3-1c687f686c29", + "practices": [], + "prerequisites": [], + "difficulty": 5 }, { "slug": "knapsack", @@ -338,44 +322,60 @@ "difficulty": 5 }, { - "slug": "roman-numerals", - "name": "Roman Numerals", - "uuid": "d542ca66-4c3a-45ad-b7fd-ce8d8656aee8", + "slug": "change", + "name": "Change", + "uuid": "0325c948-8f14-4bc5-8f75-8759c024e24b", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 6 }, { - "slug": "largest-series-product", - "name": "Largest Series Product", - "uuid": "04dcaeca-77f8-4f4d-9641-792559d58aee", + "slug": "crypto-square", + "name": "Crypto Square", + "uuid": "0099a6d9-881a-458e-930e-506242e62d1c", "practices": [], "prerequisites": [], - "difficulty": 2 + "difficulty": 7 }, { - "slug": "etl", - "name": "ETL", - "uuid": "2d8bec01-cecb-4f8b-91c9-f887e6aa9689", + "slug": "diamond", + "name": "Diamond", + "uuid": "4549e619-87dd-4ba3-b89c-6f3359a25d7c", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 7 }, { - "slug": "bob", - "name": "Bob", - "uuid": "66a4dd87-5397-4125-a002-271b750ac32a", + "slug": "bowling", + "name": "Bowling", + "uuid": "37c049f1-f83a-4b5d-a813-7347fa2b54a3", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 8 }, { - "slug": "isogram", - "name": "Isogram", - "uuid": "c7f87c99-5e61-4887-909e-eefcbd6a4183", + "slug": "matching-brackets", + "name": "Matching Brackets", + "uuid": "eccd26dc-6826-4d9e-868a-e1d640e57d3b", "practices": [], "prerequisites": [], - "difficulty": 1 + "difficulty": 8 + }, + { + "slug": "zipper", + "name": "Zipper", + "uuid": "49dcbf18-2024-499c-a951-ed009f97ef8f", + "practices": [], + "prerequisites": [], + "difficulty": 9 + }, + { + "slug": "zebra-puzzle", + "name": "Zebra Puzzle", + "uuid": "642e8ce3-9cb2-4acb-a330-8385dfa40d92", + "practices": [], + "prerequisites": [], + "difficulty": 10 } ] }, From 5976a96bc5c47c61af4619897017ffb16519cad5 Mon Sep 17 00:00:00 2001 From: Adrien-ANTON-LUDWIG Date: Sat, 3 Jun 2023 00:13:18 +0000 Subject: [PATCH 2/2] Sort exercises by difficulty then by hand I based this sort upon my personal fieling while solving some of these exercises, the concepts introduced and similar exercises difficulty in other languages. This may need to be reworked in the future according to the feedback of more people. --- config.json | 108 ++++++++++++++++++++++++++-------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/config.json b/config.json index ca1109e..7ca573e 100644 --- a/config.json +++ b/config.json @@ -58,9 +58,17 @@ ], "practice": [ { - "slug": "acronym", - "name": "Acronym", - "uuid": "da98b0d1-7b2d-4a0a-8493-c431b4409b40", + "slug": "hello-world", + "name": "Hello World", + "uuid": "151ebc38-659c-4752-b51c-cc7d1d7b1ef4", + "practices": [], + "prerequisites": [], + "difficulty": 1 + }, + { + "slug": "leap", + "name": "Leap", + "uuid": "d2bbc189-f4c8-46b9-8616-a28e3d946bde", "practices": [], "prerequisites": [], "difficulty": 1 @@ -82,17 +90,17 @@ "difficulty": 1 }, { - "slug": "hello-world", - "name": "Hello World", - "uuid": "151ebc38-659c-4752-b51c-cc7d1d7b1ef4", + "slug": "reverse-string", + "name": "Reverse String", + "uuid": "b1327f91-8568-4d80-b5ff-b043250cc819", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "leap", - "name": "Leap", - "uuid": "d2bbc189-f4c8-46b9-8616-a28e3d946bde", + "slug": "sum-of-multiples", + "name": "Sum Of Multiples", + "uuid": "0fbe5e82-b563-4360-8957-e3a543eb3184", "practices": [], "prerequisites": [], "difficulty": 1 @@ -106,49 +114,49 @@ "difficulty": 1 }, { - "slug": "rna-transcription", - "name": "RNA Transcription", - "uuid": "0b4e2dbd-7a5e-4a3d-b13d-9138518d9a63", + "slug": "acronym", + "name": "Acronym", + "uuid": "da98b0d1-7b2d-4a0a-8493-c431b4409b40", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "space-age", - "name": "Space Age", - "uuid": "06c1d4b6-1262-474b-80b4-6e779fa11743", + "slug": "isogram", + "name": "Isogram", + "uuid": "c7f87c99-5e61-4887-909e-eefcbd6a4183", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "sum-of-multiples", - "name": "Sum Of Multiples", - "uuid": "0fbe5e82-b563-4360-8957-e3a543eb3184", + "slug": "difference-of-squares", + "name": "Difference of Squares", + "uuid": "a9022ecf-0811-4807-8d8e-29da4c684d6b", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "run-length-encoding", - "name": "Run Length Encoding", - "uuid": "f544ddc2-efb7-4dff-994f-9c2578c68414", + "slug": "rna-transcription", + "name": "RNA Transcription", + "uuid": "0b4e2dbd-7a5e-4a3d-b13d-9138518d9a63", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "reverse-string", - "name": "Reverse String", - "uuid": "b1327f91-8568-4d80-b5ff-b043250cc819", + "slug": "space-age", + "name": "Space Age", + "uuid": "06c1d4b6-1262-474b-80b4-6e779fa11743", "practices": [], "prerequisites": [], "difficulty": 1 }, { - "slug": "difference-of-squares", - "name": "Difference of Squares", - "uuid": "a9022ecf-0811-4807-8d8e-29da4c684d6b", + "slug": "bob", + "name": "Bob", + "uuid": "66a4dd87-5397-4125-a002-271b750ac32a", "practices": [], "prerequisites": [], "difficulty": 1 @@ -162,17 +170,9 @@ "difficulty": 1 }, { - "slug": "bob", - "name": "Bob", - "uuid": "66a4dd87-5397-4125-a002-271b750ac32a", - "practices": [], - "prerequisites": [], - "difficulty": 1 - }, - { - "slug": "isogram", - "name": "Isogram", - "uuid": "c7f87c99-5e61-4887-909e-eefcbd6a4183", + "slug": "run-length-encoding", + "name": "Run Length Encoding", + "uuid": "f544ddc2-efb7-4dff-994f-9c2578c68414", "practices": [], "prerequisites": [], "difficulty": 1 @@ -185,14 +185,6 @@ "prerequisites": [], "difficulty": 2 }, - { - "slug": "sieve", - "name": "Sieve", - "uuid": "671a09cb-df24-4a30-8513-26103bb1ae10", - "practices": [], - "prerequisites": [], - "difficulty": 2 - }, { "slug": "raindrops", "name": "Raindrops", @@ -217,6 +209,14 @@ "prerequisites": [], "difficulty": 2 }, + { + "slug": "sieve", + "name": "Sieve", + "uuid": "671a09cb-df24-4a30-8513-26103bb1ae10", + "practices": [], + "prerequisites": [], + "difficulty": 2 + }, { "slug": "largest-series-product", "name": "Largest Series Product", @@ -249,6 +249,14 @@ "prerequisites": [], "difficulty": 4 }, + { + "slug": "simple-linked-list", + "name": "Simple Linked List", + "uuid": "3a377fd7-2f66-4326-94f5-e3e05133c252", + "practices": [], + "prerequisites": [], + "difficulty": 4 + }, { "slug": "all-your-base", "name": "All Your Base", @@ -273,14 +281,6 @@ "prerequisites": [], "difficulty": 4 }, - { - "slug": "simple-linked-list", - "name": "Simple Linked List", - "uuid": "3a377fd7-2f66-4326-94f5-e3e05133c252", - "practices": [], - "prerequisites": [], - "difficulty": 4 - }, { "slug": "rotational-cipher", "name": "Rotational Cipher",