Difference Between Algo

Difference between Algorithm and Flowchart Slno. Algorithm Flowchart 01. A method of representing thestep-by-step logical procedure for solving a problem. Flowchart is pictorial representation of an algorithm. It is constructed using different types of boxes and symbols. 02. It describes step-by-stepdescriptions and each step represents a particular operation leading to Read more…

Loading

Examples of Algorithm

Divide & Conquer Binary search Multiplication of two n-bits numbers Quick Sort Heap Sort Merge Sort Greedy Method Knapsack (Fractional) Problem Minimum Cost Spanning Tree Kruskal‟s algorithm Prim‟s algorithm Single Source Shortest Path Problem Dijkstra’s Algorithm Dynamic Programming All Pair Shortest Path-Floyed Algorithm Chain Matrix Multiplication Longest Common Subsequence (LCS) Read more…

Loading

Backtracking Method

Introduction It is one of the very important types of algorithms. Definition Backtracking is a general algorithmic technique that is used to solve a wide range of problems, including combinatorial optimization problems, constraint satisfaction problems, and other problems that involve finding a solution among a large set of possible solutions. Read more…

Loading

Dynamic Programming Method

Introduction The dynamic Programming method is a famous algorithmic principle used widely in several applications. Definition Dynamic programming is a technique for solving complex problems by breaking them down into smaller & simpler sub-problems and solving each sub-problem only once, saving the results in a table and reusing them when Read more…

Loading

Greedy Method/Principle

Introduction The greedy principle is an algorithm design paradigm in which the algorithm makes the locally optimal choice at each step in the hope of finding a globally optimal solution. Definition The greedy principle is a heuristic algorithmic technique in computer science where an optimal solution is reached by making Read more…

Loading

Divide and Conquer Principle

Introduction The divide and conquer principle is a fundamental algorithm design paradigm in computer science. Definition The divide and conquer principle is a common algorithmic technique used to solve problems by breaking them down into smaller sub-problems, solving each sub-problem independently, and combining the solutions of the sub-problems to form Read more…

Loading