/grokking-algorithms

This repository was created to store algorithms from the book "Grokking Algorithms" by Aditya Y. Bhargava.

Primary LanguageTypeScript

Grokking Algorithms

This repository was created to store algorithms from the book "Grokking Algorithms" by Aditya Y. Bhargava.
The oficial repository is https://github.com/egonSchiele/grokking_algorithms - with many programming languages for you to check.
Here I'll use Typescript to add type safety and improve my development experience. Feel free to ask and suggest changes.

How to test the scripts?

1 - Clone this repo: git clone https://github.com/ItaloCovas/grokking-algorithms.git
2 - Open your terminal in the root folder and run: npm install
3 - Choose the file that you want to test and run: npx ts-node 'DIRECTORY'
EXAMPLE: npx ts-node '.\1 - Binary Search\binarySearch.ts'