Data Structures and Algorithms implemented in Typescript.
This repository is a demonstration of my work where i have solved atleast 1-2 problems a day. This repository will help anyone to challenge yourself and do a DS-A problem a day.
All the solutions are in typescript which you can transpile to es2015 version also.
Install
- npm install
- npm run build
- Implement a Stack using Array
- Implement a Stack using Linked List
- Implement 2 stacks in one array
- Remove consecutive Duplicates
- Implement a Queue using Array
- Implement a Queue using Linked List
- Implement a LRU Cache
- Maximum of all subarrays of size k
- Reverse First K elements of Queue
The problems are taken from GeeksForGeeks. It contains solutions to most of the problems in C++/Java and would recommend as the go to site for learning data structures and algorithms.