While I studied at university I realized, that In theory there is no difference between theory and practice, but in practice there is.
- Theory: everything is clear, but nothing works
- Practice: everything works, but nothing is clear
- Sometimes theory meets practice: nothing works and nothing is clear
The purpose of this project is mainly to keep my analytics skills up to date and enhance them as well. Of course, the data structures and algorithms are always fun, but sometimes they can be very difficult in other words this repo can be something like a "fast" lookup for interview preparation.
Currently, I plan to add content that touches data structures and a lot of algorithms gathered from platforms like LeetCode, Codility end etc.
After confirming that your environment meets the above requirements, it is time to clone the project locally by doing the following:
$ git clone git@github.com:DeanHristov/algo-cheat-sheet.git <project-name>
$ cd <project-name>
When you're done with the steps above, you need to install the project dependencies.
$ npm install
In order to run the code in dev mode. Go to in your project (root) directory and follow the command below.
$ npm run dev
Currently, the project is supporting unit testing with JEST. In order to run them you have to perform:
$ npm test
All tasks automation are based on NPM scripts.
Tasks | Description |
---|---|
npm run start |
Running the code in dev mode |
npm run lint |
Analyzing the code for problems with eslint |
npm run prettier-format |
Code formatting |
npm run test |
Running the unit tests ( using jest) |
npm run test:watch |
Running the unit tests in "watch" mode |
npm run test:coverage |
Running the coverage of the unit tests |
- TypeScript
- Computer Memory
- BIG-O Cheat sheet
- WIKI - List of data structures
- Hash table
- Programiz - DSA
- Master theorem (analysis of algorithms)
- Divide-and-conquer algorithm
- Memoization
- Sorting algorithms - Intro
- Sorting algorithms - Categories
- In-place algorithm
- LeetCode Patterns
- Blind 75 Questions
- Blind 75 Questions - LeetCode
- LeetCode - Top Interview 150
- 30 Days of JavaScript - LeetCode
- Author: D. Hristov | Version: 1.0.0 | Documentation here | License: If you like them - use them :)