All Level Sign in Sign Up

DSA — Syllabus

Explore the syllabus by level.

Understand foundational concepts, complexity, and simple data handling.

  1. Introduction to DSA
  2. Time and Space Complexity (Big O, Big Θ, Big Ω notation)
  3. Recursion basics
  4. Arrays (Declaration, traversal, insertion, deletion, searching (linear search))
  5. Strings (Basic operations)
  6. Mathematical algorithms (Factorials, GCD, LCM, Primes)
  7. Input/Output handling

Learn fundamental data structures and their operations

  1. Linked List (Singly linked list, doubly linked list, circular linked list, Traversal, insertion, deletion)
  2. Stack (Array & linked list implementation, push, pop, peek, applications)
  3. Queue (Simple queue, circular queue, priority queue, enqueue, dequeue, front, rear)
  4. Basic problems (Reverse linked list, balanced parentheses, stack/queue challenges)

Understand searching/sorting algorithms and their efficiency

  1. Searching Algorithms (Linear search, binary search, ternary search, search in sorted & rotated arrays)
  2. Sorting Algorithms (Bubble sort, selection sort, insertion sort, merge sort, quick sort, heap sort, counting sort, radix sort)
  3. Complexity analysis of algorithms
  4. Practice problems (Find min/max, kth smallest/largest, sorted order check)

Handle complex data efficiently using advanced data structures

  1. Trees (Binary tree, binary search tree (BST), tree traversals (inorder, preorder, postorder), height, depth, level order)
  2. Heap (Min-heap, max-heap, heapify, insert, delete)
  3. Hashing (Hash tables, hash functions, collision resolution)
  4. Graph Basics (Representation (adjacency matrix/list), BFS, DFS)
  5. Practical problems (Lowest common ancestor, path finding)

Solve complex problems using graphs and algorithmic techniques.

  1. Graph Algorithms (BFS, DFS, Dijkstra’s, Bellman-Ford, Floyd-Warshall, Prim’s, Kruskal’s, Topological sorting)
  2. Dynamic Programming (Fibonacci, Knapsack, Coin Change, Longest Common Subsequence)
  3. Greedy Algorithms (Interval scheduling, Huffman coding)
  4. Backtracking (N-Queens, Rat in Maze, Sudoku solver)
  5. Complexity and optimization

Master competitive programming and advanced problem-solving

  1. Advanced Trees (AVL tree, Red-Black tree, Segment tree, Fenwick tree (BIT))
  2. Advanced Graphs (Shortest path optimizations, Network flow (Ford-Fulkerson), Strongly connected components, Tarjan’s algorithm)
  3. Advanced DP (Bitmask DP, DP on trees)
  4. String Algorithms (KMP, Rabin-Karp, Trie, Suffix Tree/Array)
  5. Complexity Analysis (Amortized analysis, NP problems, Approximation algorithms)
  6. Problem-solving patterns (Sliding window, two pointers, divide & conquer, greedy + DP combinations)