- Linked Lists
- Doubly Linked Lists
- Stacks and Queues
- Trees
- Graphs
- Hash Tables
- Strings
- Arrays
- Fibonacci (recursive & memoization)
- Two Sum
- Sock Merchant
- Power Of (3)
- Can be Equal
- Jumping on the Clouds
- Defanging IP
- Minimum Steps to One
- Roman to Integer
- Integer to Roman
- Palindrome Checker
First you must clone the repo onto your machine:
- In your terminal, find a place you would like to store this repo and run this line:
git clone https://github.com/Mleng89/data-structures.git
Running it after cloning:
- In your terminal you can then run:
cd data-structures
andcode .
to open it in your favorite IDE!
Installing dependencies:
- Now when the folder is open, run
yarn install
to install Jest as this will be using Jest to run tests!
Running the tests:
- In order for you to run tests, you can enter
yarn/npm test
this will run jest on all test files. - To run single test files, run
yarn/npm test -- [file name]
.
dotnet --version
(to make sure dotnet is installed)dotnet new console -o <name>
(to create C# project, can use other apps instead of console)- To execute console application code, user should be in designated folder. Then write
dotnet run
in terminal. >.NET Generate Assets for Build and Debug
CMD -> Command Palettedotnet build
(to compile code, will have exe or dll in /bin folder after.)
🔗 LinkedIn (Please add a note before you connect so I know you are not a bot!)