- Clean Code notes, examples and checklist.
- Algorithms for searching and sorting.
- Data Structures like Singly Linked List, Doubly Linked List, Heaps and Trees.
- Solving Patterns like Divide and Conquer, Multiple Pointers and Frequency Counter.
- System Design documents including a checklist.
- Codewars Code Challenges
- Leetcode Code Challenges
- Other Code Challenges
- The code is written using Javascript, Typescript and Python.
- The Typescript tests are written with Jest for unit testing.
-
Install using
npm i
command in your terminal. -
Run
npm run test-ts <filename>
for a specific test, ornpm run test-ts
to run all tests.
-
Install using
pipenv install
command in your terminal. -
Start a shell environment by running pipenv shell
-
Navigate into any directory and run files using the
python <filename>
command. -
Alternative for automatically rerun tests: Install nodemon globally:
npm i -g nodemon
and then runKYU=<kyu> FOLDER=<folder> KATA=<kata> npm run test-py
. The first three variables (e.g.KYU=6KYU FOLDER=arrayDiff KATA=array_diff
) define which test to run.