Check out my Java edition, JAlgorithm
includes some of the algorithms I came across online
I actively work on new Algorithms in GeeksforGeeks.org, Hackerrank.com, Topcoder.org, etc.
is configure into 2 CMake solutions: src and test.
The file structure inside each solutions is the same.
With Unit tests has a file suffix XXXTest.cpp
all algorithms is written inside header file
This allow easy extraction of that algorithm
All algorithms also is namespaced of its own, so no interaction between others,
unlike normal projects.
- Add two numbers represented by linked lists - GeeksForGeeks
- MostEleganceString - Hackerrank
- RestoreIPAddress - Leetcode - Medium
- Abbreviation - Hackkerank - Medium
- Davis' Staircase - Hackerrank
- Knapsack
- Max Subset Sum - Hackerrank - Medium
- Min Cost Path in Matrix
- Diagonal Traverse - Leetcode - Medium
- Larry's Array - Hackerrank
- MinSwap
- Spiral Matrix - Leetcode - MEDIUM
- ReverseString
- Sherlock and the Valid String
- Unique Emails - LeetCode - Easy
- Permutations - LeetCode - Medium
- FlattenBinaryTreeToList - LeetCode - Medium
- PopulatingNextRightPointersInEachNode - LeetCode - Medium
- Behavioral - Iterator
- Creational - AbstractFactory
- Creational - Builder
- Structural - Adapter
- Structural - Bridge
- Singleton