Analysis and Design of Algorithms (MCA133) crash course, Online MCA, Semester 1:
This subject covers how to measure the time and space complexity of algorithms and the main design techniques: divide and conquer, dynamic programming, greedy…
- 18 video lessons
- 6h 17m
- Study notes
- 90 quiz questions
- Assignment

18 lessons in Analysis and Design of Algorithms
Each lesson pairs one topic with a hand-picked video, trimmed to the part that teaches it.
About this subject
This subject covers how to measure the time and space complexity of algorithms and the main design techniques: divide and conquer, dynamic programming, greedy methods and graph algorithms, along with sorting, searching, hashing, string matching and NP-completeness. After it you will be able to analyse an algorithm's best, worst and average-case cost, choose a suitable design technique for a problem, and recognise when a problem is likely NP-complete and needs an approximation.
- 1
Algorithm Complexity: Best, Worst and Average Case
Module I, Algorithm Analysis: Introduction Algorithms Complexity measures, Best, worst and average-case complexity functions, problem complexity
1.11 Best Worst and Average Case Analysis· Abdul Bari· 19 min
Study notes 5 quiz questionsWatch lesson - 2
Review of Data Structures and Algorithm Design Principles
Module I, Algorithm Analysis: quick review of basic data structures and algorithm design principles
L-1.2: What is Algorithm | How to Analyze an Algorithm | Priori vs Posteriori Analysis | DAA· Gate Smashers· 8 min
Study notes 5 quiz questionsWatch lesson - 3
Selection, Insertion and Bubble Sort
Module II, Sorting and searching Order statistics: Sorting by selection, insertion and bubble
Sorting Algorithms | Bubble Sort, Selection Sort & Insertion Sort | DSA Series by Shradha Ma'am· Apna College· 32 min
Study notes 5 quiz questionsWatch lesson - 4
Divide and Conquer: Merge Sort, Quick Sort and Strassen's Matrix Multiplication
Module II, Sorting and searching Order statistics: Divide & Conquer Strategy, Quick Sort, merge sort, Strassen's Matrix Multiplication
L-3.1: How Quick Sort Works | Performance of Quick Sort with Example | Divide and Conquer· Gate Smashers· 13 min
Study notes 5 quiz questionsWatch lesson - 5
Heap Sort, Radix Sort and Sorting in Linear Time
Module II, Sorting and searching Order statistics: Heap Sort, Data Sorting in Linear time, other sorting algorithms— radix sort
L-3.18: Heap sort with Example | Heapify Method· Gate Smashers· 14 min
Study notes 5 quiz questionsWatch lesson - 6
Binary Search and Optimal Binary Search Trees
Module II, Sorting and searching Order statistics: Searching in static table— binary search, path lengths in binary trees and applications, optimality of binary search in worst case and average-case, Binary search trees, construction of optimal weighted binary search trees
4.6 Optimal Binary Search Tree (Successful Search Only) - Dynamic Programming· Abdul Bari· 30 min
Study notes 5 quiz questionsWatch lesson - 7
AVL Trees, (a,b) Trees and Hashing
Module II, Sorting and searching Order statistics: Searching in dynamic table - randomly grown binary search trees, AVL and (a, b) trees, Hashing: Basic ingredients, analysis of hashing with chaining and with open addressing
10.1 AVL Tree - Insertion and Rotations· Abdul Bari· 43 min
Study notes 5 quiz questionsWatch lesson - 8
Dynamic Programming and Matrix Chain Multiplication
Module III, Advanced Design and Analysis Techniques: Dynamic programming- Elements of dynamic programming, Chain-matrix multiplication
4.3 Matrix Chain Multiplication - Dynamic Programming· Abdul Bari· 23 min
Study notes 5 quiz questionsWatch lesson - 9
Floyd-Warshall Algorithm and Optimal BST
Module III, Advanced Design and Analysis Techniques: All pair shortest path (Floyd algorithm), Optimal Binary Search Tree
4.2 All Pairs Shortest Path (Floyd-Warshall) - Dynamic Programming· Abdul Bari· 14 min
Study notes 5 quiz questionsWatch lesson - 10
Greedy Algorithms and Huffman Codes
Module III, Advanced Design and Analysis Techniques: Greedy algorithms- Elements of the greedy strategy, Huffman codes
3.4 Huffman Coding - Greedy Method· Abdul Bari· 18 min
Study notes 5 quiz questionsWatch lesson - 11
Greedy Shortest Path and Knapsack Problem
Module III, Advanced Design and Analysis Techniques: Single-source shortest path in a directed graph, Knapsack problem
3.6 Dijkstra Algorithm - Single Source Shortest Path - Greedy Method· Abdul Bari· 19 min
Study notes 5 quiz questionsWatch lesson - 12
Elementary Graph Algorithms (BFS, DFS)
Module IV, Graph Algorithms: Elementary graphs Algorithms
5.1 Graph Traversals - BFS & DFS -Breadth First Search and Depth First Search· Abdul Bari· 19 min
Study notes 5 quiz questionsWatch lesson - 13
Minimum Spanning Trees: Kruskal's and Prim's Algorithms
Module IV, Graph Algorithms: Minimum spanning Trees minimum spanning trees— Kruskal's and Prim's algorithms— Johnson's implementation of Prim's algorithm using priority queue data structures
3.5 Prims and Kruskals Algorithms - Greedy Method· Abdul Bari· 20 min
Study notes 5 quiz questionsWatch lesson - 14
Single Source and All Pairs Shortest Paths
Module IV, Graph Algorithms: Single source Shortest paths, All Pair Shortest Paths
3.6 Dijkstra Algorithm - Single Source Shortest Path - Greedy Method· Abdul Bari· 19 min
Study notes 5 quiz questionsWatch lesson - 15
KMP String Matching Algorithm
Module IV, Graph Algorithms: String processing: String searching and Pattern matching, Knuth-Morris-Pratt algorithm and its analysis
9.1 Knuth-Morris-Pratt KMP String Matching Algorithm· Abdul Bari· 19 min
Study notes 5 quiz questionsWatch lesson - 16
P vs NP and Nondeterministic Algorithms
Module V, NP-completeness: Informal concepts of deterministic and nondeterministic algorithms, P and NP
Non Deterministic Algorithm || Example || Deterministic Algorithm || DAA || P Problem || NP Problem· DIVVELA SRINIVASA RAO· 23 min
Study notes 5 quiz questionsWatch lesson - 17
NP-Completeness and Cook's Theorem
Module V, NP-completeness: NP-completeness, statement of Cook's theorem, some standard NP-complete problems
Cook's Theorem / Cooks Theorem /#CookTheorem/#Cookstheorem/#DAA/#NPHardAndNPComplete/#PrasadSir/· PRASAD Sir· 14 min
Study notes 5 quiz questionsWatch lesson - 18
Approximation Algorithms
Module V, NP-completeness: approximation algorithms
Design and Analysis of Algorithm | Approximation Algorithms | AKTU Digital Education· AKTU Digital Education· 30 min
Study notes 5 quiz questionsWatch lesson
Assignment
Algorithm Analysis Problem Set: Sorting, Dynamic Programming, Greedy, Graphs and Strings
Less scrolling. More passing.
- Free
Hand-picked video lessons
18 short lessons, each with the best YouTube explanation we could find, trimmed to the part that matters.
- Free login
Study notes
18 lessons come with a summary, key points, key terms and takeaways for quick revision.
- Free login
Quizzes
90 questions across the course, with the right answer and why, the moment you pick.
- Free login
Assignments
1 subject assignments with clear tasks, so you practise what each subject actually asks of you.
- Free login
Notebook
Write notes beside the video, stamped with the exact time, and jump back to that moment later.
- Free login
Progress that follows you
Completed lessons, quiz scores and where you stopped, saved to your account on every device.
- Live chat pass
Live chat
A members-only live chat beside every lesson: doubts, tips, stickers and GIFs with your batch. One ₹19 pass opens every live chat.
The Online MCA live chat. Study together, live.
A live chat right beside the video, shared by everyone studying Online MCA. Ask a Analysis and Design of Algorithms doubt mid-lesson, share a shortcut, celebrate a finished semester.
- Live chat beside every lesson
- One live chat for all of Online MCA
- Members-only stickers & GIFs
- One ₹19 pass opens every live chat
Online MCA live chat
Anyone else finding Analysis and Design of Algorithms tricky? 😅
Lesson 2 cleared it up for me. Watch it before the quiz

Doing it now, thanks!
Starting Advanced Database Management System tonight if anyone wants to go together
More from Online MCA Semester 1
All subjects- Sem 1
MCA103
Advanced Database Management System
This subject covers PL/SQL programming (blocks, cursors, exceptions, triggers, procedures and packages) along with distributed, parallel and object-oriented…
- 18 lessons
- 5h 37m
- Notes
- Quiz
- Sem 1
MCA134
Computer Graphics
This subject covers the fundamentals of computer graphics: display and input hardware, algorithms for drawing lines, circles, ellipses and filled areas, 2D and…
- 14 lessons
- 4h 12m
- Notes
- Quiz
- Sem 1
MCA102
Core Java
This subject covers core Java programming, from the JVM, data types and control flow through classes, inheritance, interfaces, packages, exception handling and…
- 15 lessons
- 9h 58m
- Notes
- Quiz
- Sem 1
MCA135
Data Warehousing and Mining
This subject covers how data warehouses are designed, built and tuned for multidimensional analysis, and how data mining techniques such as clustering,…
- 19 lessons
- 3h 58m
- Notes
- Quiz
- Sem 1
MCA131
Mobile Computing
This subject covers how mobile and wireless networks work, from GSM architecture and wireless medium access to Mobile IP, mobile TCP variants, wireless LANs,…
- 15 lessons
- 2h 20m
- Notes
- Quiz
- Sem 1
MCA137
Network Fundamental
This subject introduces networking fundamentals following the CCNA Exploration curriculum, covering the OSI layers from application to physical, TCP/UDP, IPv4…
- 30 lessons
- 5h 51m
- Notes
- Quiz
Analysis and Design of Algorithms: common questions
This subject covers how to measure the time and space complexity of algorithms and the main design techniques: divide and conquer, dynamic programming, greedy methods and graph algorithms, along with sorting, searching, hashing, string matching and NP-completeness. After it you will be able to analyse an algorithm's best, worst and average-case cost, choose a suitable design technique for a problem, and recognise when a problem is likely NP-complete and needs an approximation. It's the Analysis and Design of Algorithms subject of Online MCA, Semester 1, in 18 lessons: Algorithm Complexity: Best, Worst and Average Case; Review of Data Structures and Algorithm Design Principles; Selection, Insertion and Bubble Sort; Divide and Conquer: Merge Sort, Quick Sort and Strassen's Matrix Multiplication; Heap Sort, Radix Sort and Sorting in Linear Time; Binary Search and Optimal Binary Search Trees; AVL Trees, (a,b) Trees and Hashing; Dynamic Programming and Matrix Chain Multiplication; Floyd-Warshall Algorithm and Optimal BST; Greedy Algorithms and Huffman Codes; Greedy Shortest Path and Knapsack Problem; Elementary Graph Algorithms (BFS, DFS); Minimum Spanning Trees: Kruskal's and Prim's Algorithms; Single Source and All Pairs Shortest Paths; KMP String Matching Algorithm; P vs NP and Nondeterministic Algorithms; NP-Completeness and Cook's Theorem; Approximation Algorithms.
Yes. Every video lesson is free to watch without an account. A free login unlocks study notes, quizzes, the assignment, a notebook and progress that syncs across devices.
About 6h 17m of video across 18 lessons, plus time for notes and quizzes. Go at your own pace; your place is saved.
Yes: “Algorithm Analysis Problem Set: Sorting, Dynamic Programming, Greedy, Graphs and Strings”. It comes after the last lesson, with a brief, clear tasks and how the work is judged.
A members-only live chat beside the video, shared by everyone studying Online MCA, where learners ask doubts, share tips and react with stickers and GIFs. One ₹19 pass, paid once from your InsideEdge wallet, opens the live chat for every degree.
No. It's a crash course to help you understand and revise the subject quickly. Use it alongside your official study material and assignments.