This repository contains a list of different algorithms and solutions that I've created over the years for various reasons - work, interviews,
refreshing knowledge or just for fun. For solutions to Algorithms: Design and Analysis, Part 1 course problems go here. You can find most of them here, but some were extracted as separate projects.
Majority of the solutions are written in javascript, and you can run them with node :
node <filename.js>
For some of them preinstalling npm nependencies is required first. You can do that with
npm install
in the folder containing a package.json file.
Solutions in other languages are to be run accordingly using appropriate language interpreters (Haskell or Python).
| Problem | Solution |
|---|---|
| Happy Numbers | click |
| 2 SUM | click |
| N SUM | click |
| Minimum Cut | click |
- 2_SUM (5 different solutions)
- N_SUM
- Happy Numbers
- Minimum Cut in graph
- Strongly connected components
- Counting inversions
- Dijkstra's algorithm
- Quick Sort