Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prerequisites for practice exercises #1964

Merged
merged 4 commits into from
Oct 29, 2022
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,12 @@
"name": "Matching Brackets",
"uuid": "4d456646-3a9b-4393-9558-6b30e5c1039c",
"practices": [],
"prerequisites": [],
"prerequisites": [
"strings",
"arrays",
"conditionals-switch",
"for-loops"
],
Comment on lines +827 to +832
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is my solution : https://exercism.org/tracks/javascript/exercises/matching-brackets/solutions/TomPradat

I've seen many solutions with conditional switches and I prefer it to regexps ones. Also I've added arrays because I think this is good exercise for 'stack' type solutions

"difficulty": 3,
"topics": [
"conditionals",
Expand Down Expand Up @@ -862,7 +867,14 @@
"name": "Series",
"uuid": "5178ae53-5364-46c9-bee3-70e6e8a8c2e3",
"practices": [],
"prerequisites": [],
"prerequisites": [
"arrays",
"strings",
"errors",
"classes",
"conditionals",
"array-transformations"
],
Comment on lines +870 to +877
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"difficulty": 3,
"topics": ["loops", "exception_handling", "strings", "text_formatting"]
},
Expand Down Expand Up @@ -904,7 +916,13 @@
"name": "Grep",
"uuid": "78bcbae1-a0f2-460c-ba89-e51844fe9397",
"practices": [],
"prerequisites": [],
"prerequisites": [
"arrays",
"strings",
"for-loops",
"array-analysis",
"template-strings"
],
Comment on lines +919 to +925
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"difficulty": 4,
"topics": ["files", "searching", "text_formatting"]
},
Expand Down