I collected the algorithm and example we may need during competitive programming

List of 25 Algorithms :

Searching :
• Linear Search
• Binary Search
• Depth Search
• Breadth Search

Sorting:
• Insertion Sort
• Selection Sort
• Heap Sort
• Merge Sort
• Quick Sort
• Counting Sort

Arrays:
• Kadane’s Algorithm
• KMP Algorithm
• Quick Select Algorithm
• Boyer-Moore Majority vote Algorithm
• Floyd’s Cycle Detection Algorithm

Graph:
• Prims Algorithm
• Kruskal’s Algorithm
• Dijkstra Algorithm
• Bellman Ford Algorithm
• Topological Sort Algorithm
• Flood Fill Algorithm

Others:
• Union Find
• Euclid’s Algorithm
• Huffman Coding Compression

If you find the post useful. Please upvote ;)
Fell Free to ask Anything 🙌

Comments (1)