Pseudocode

Definition Pseudo-code is a compact and informal high-level description of a computer programming algorithm that uses the structural conventions of some programming language. Pseudocode is a kind of structured English for describing algorithms in an easily readable and modular form. This helps in describing how the system will solve the given problem. Read more…

Loading

Notations for Complexity

Links for Complexity and its Type Complexity notations are mathematical ways that are used to express the growth rate of an algorithm’s time or space requirements (ignoring constants and lower-order terms) as the input size grows or becomes very large. Complexity notations actually describe algorithm efficiency. Asymptotic Notations (n→∞): In Read more…

Loading

Reference Books algo

SlNo Book's Name Author's Name Publications 01. Fundamentals of Computer Algorithm Ellis Horowitz And Sartaj Sawhney — 02. Introduction to Algorithms Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein. PHI Publications. 03. Algorithms Robert Sedgewick and Kevin Wayne Addison Wesley 04. Introduction to Algorithms: A Creative Read more…

Loading

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

Complexity and its Type

Link for Complexity Notations Complexity of Algorithm Introduction Complexity simply means difficulties in a process. Definition Algorithm complexity is a measure of the resources required by an algorithm as a function of input size to solve a problem. The two main resources are time (how long the algorithm takes to run) and space (how 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