This repository is a single destination of all the common algorithms which are taught in Data Structures and Algorithms courses. These implementations are for learning purposes and may not be the most efficient way for solving problems.
If you find any issues with the currently present implementations, feel to to correct them or create an issue mentioning those.
This repo is Hacktoberfest friendly. But make sure that the you don't spam with PRs. Read the CONTRIBUTING.md
file for Contribution Guidelines.
For info about how to contribute to Open Source and Participate in Hacktoberfest, check out the below post:
Read the Contribution Guidlines before you contribute.
You can also create an issue or contact us if you have any doubts.
- Dijktras
- Flood_Fill_Algorithm
- Floyd_Warshall
- Hamiltonian_Path_Cycle_Algorithm
- Kosaraju_algorithm
- Kruskal's Algorithm
- Prim's Algorithm
- BinarySearch
- BreadthFirstSearch
- DepthFirstSearch
- ExponentialSearch
- Fibonacci_Search
- LinearSearch
- RecursiveLinearSearch
- StairCaseSearch
- greedy_money_change_recursive
- huffmanencoding
- Josephus_problem
- KadanesAlgo
- KMPAlgo
- Longest Common Subsequence
- pascaltriangle
- RoundRobin
- SieveOfEratosthenes
- sjf
- StringSorting
- tower_of_hanoi
- Stock_buy_and_sell_problem
- dp_coin_change
--
--
--
- checkIfArrayIsSorted
- deleteElement
- FibonacciSeries
- getLargestElementIndex
- insertion
- leftRotateByOne
- moveZerosToEnd
- removeDuplicatesFromSortedArray
- rotateArrayDTimes
- Two Pointer Algorithm
- binaryExponentiation
- checkPalindromeNumber
- countDigitsInANumber
- euclidGCD
- factorialUsingRecursion
- nCr
- nthFibonacci
- printArrayRecursive
- printOneToN
- sumOfDigits
- sumOfNNumbers
- towerOfHanoiMoveCount
--
--
- duplicate_zeros
- Fibonacci_rec
- GreatestCommonDivisorEuclidean
- hangman_game
- kadaneAlgorithm
- next_president
- PrimeUptoN
- queue
- rotation
- singlelinkedlist
- stack
--
--