Universe provides solution to major Algorithms which are implemented in C++, JAVA, Python.
- Bidirectional Search
- Centroid Decomposition
- Dijkstra's Algorithm
- Eulerian path in Undirected graph
- Kadane's Algorithm
- Lowest Common Ancestor
- Line Sweep Algorithm
- Square Root Decomposition
- Prim's Algorithm
- Topological Sorting
- Implementation of Trie
- Solving Recurrence using Matrix Exponentiation
- Kruskal's Algorithm
- Kosaraju's Algorithm
- Kahn's Algorithm
- KMP Algorithm
- Boyre Moore Voting Algorithm
- Sepa Algorithm to generate all Permutation
Pull requests and suggestions are welcomed. 🚀
- Fork this repository (Click the Fork button in the top right of this page, click your Profile Image)
- Clone your fork down to your local machine
git clone https://github.com/your-username/repository.git
- Create a branch
git checkout -b branch-name
- Make your changes (There are some folders for different category so upload the file accordingly)
- Commit and push
git add .
git commit -m 'Commit message'
git push origin branch-name
or
-
Add the file in the forked repository using upload file option then commit the changes in a new branch.
-
Create a new pull request from your forked repository (Click the
New Pull Request
button located at the top of your repo) -
Wait for your PR review and merge approval!
- Code should be properly formatted.
✅ for (int i = 0; i < n; i++) {
}
❌ for (int i = 0; i < n; i++)
{
}
✅ if (condition) {
}
❌ if (condition)
{
} - Code should not be totally copy pasted few ideas would be fine though.
- Test your code for all possible testcase and corner cases as well.
- Same programs must not be repeated in different programming language you can implement same algorithm with different idea.
Leave a ⭐ to the repository and share this with your friends!