- Get the book "Data Structures and Algorithms with JavaScript" by Michael McMillan.
- Read one chapter at a time.
- Create a branch and copy the exercises into a new directory with your name
- Solve all of the exercises.
- If there are no tests you should write them.
Notes: Each exercise should be attempted for at least 20-30 minutes before looking at the chapter examples. Only after another 20-30 minutes of struggle you should look for outside help (stackoverflow, friends?, chatgpt, etc...)
- The JavaScript Programming Environment and Model
- Arrays
- Lists
- Stacks
- Queues
- Linked Lists
- Dictionaries
- Hashing
- Sets
- Binary Trees and Binary Search Trees
- Graphs and Graph Algorithms
- Sorting Algorithms
- Searching Algorithms
- Advanced Algorithms
Run npm install
to start
Run npm test
to run all test files
Run npx jest [path-to-file]
to run a specific test or install an extension for ease of use
For more information: nodejs typescript jest