chetanakashV / DSA-ALGORITHMS

Top 25 important algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DSA-ALGORITHMS

Top 25 important algorithms

This folder contains all the below mentioned algorithms. These are considered as very important algorithms. You can see them in the file with name seqNum.cpp

  1. Binary Search ** O(Log N)
  2. Breadth First Search ** O(N)
  3. Depth First Search ** O(N)
  4. Merge Sort ** O(N log N)
  5. Quick Sort ** O(N log N)
  6. Kruskal's Algorithm ** O(E log V + V log E)
  7. Dijkstra's Algorithm
  8. Floyd Warshal's Algorithm
  9. Bellman Ford
  10. Kadane's Algorithm ** O(N)
  11. Lee Algorithm ** O(N)
  12. Flood Fill Algorithm ** O(N)
  13. Floyd Cycle detection ** O(N)
  14. Union Find Algorithm ** O(V+E)
  15. Topological Sort ** O(V+E)
  16. KMP Algorithm
  17. Insertion Sort ** O(N log N)
  18. Selection Sort ** O(N log N)
  19. Counting Sort ** O(N)
  20. Heap Sort
  21. Kahn's Topological Sort ** O(V+E)
  22. Huffman's Coding Compression ** O(NlogN)
  23. Quick Select Algorithm ** O(N) better average time.
  24. Boyer Moore Majority Voting Algo
  25. Euclid's Algorithm ** O(Log N)
  26. Detect a cycle in graph **
  27. Rabin knarp

Please mail me @ sherlockdetective69@gmail.com if you find any mistake in these algorithms.

About

Top 25 important algorithms


Languages

Language:C++ 100.0%