Recursive Algorithm: e.g.
To find factorial using Recursion
Dynamic Programming Algorithm: e.g.
Multistage graph
All pairs Shortest path
Fibonacci sequence
0-1 knapsack problem
Mathematical optimization problem
Reliability design problem
Longest common subsequence (LCS)
Flight control and Robotics control
Time-sharing: It schedules the job to maximize CPU usage
Optimal polygon triangulation problem
Backtracking Algorithm | O(K ^ N) where 'K' is the number of times the function calls itself: e.g.
Queens Problem
Subset sum problem
Divide and Conquer Algorithm | O(n log n): Relational formula & Stopping condition e.g.
Sorting: e.g.
Merge sort
Quick sort
Binary Tree Traversals
Binary Search
Multiplication of large integers
Matrix Multiplication: e.g.
Strassen's Algorithm
Closest-pair and Convex-hull algorithm
Maximum and minimum problem
Tower of Hanoi
Greedy Algorithm | O(n log n) or O(n): e.g.
Huffman tree
Counting money
Fractional Knapsack problem
Minimum spanning tree
Prims Algorithm
Kruskals Algorithm
Job Scheduling Problem
Dijkstra shortest path algorithm
Fractional knapsack problem
Brute Force Algorithm O(2^n): e.g.
Exact string-matching algorithm
Linear search
Randomized Algorithm: e.g
Quick sort (random number to choose the pivot point)
#Programming #Algorithm #CodeAnalysis #AbdurRahimRatulAliKhan
>>>