Loading

DATA STRUCTURES

<!> THIS PAGE IS UNDER CONSTRUCTION <!>

  1. Pointer
    1. Example using variable
    2. Example using array
    3. Example using object
  2. Class & Struct
    1. Struct example
    2. Class example without functions
    3. Class example with functions
  3. Recursion
    1. Infinite recursion
    2. Print something n times
    3. Print a number sequence
    4. Print all numbers in a range
    5. Factorial
    6. Sum of a series
    7. Prime number
    8. Palindrome
    9. HCF & LCM
    10. Print patterns with asterisk
    11. Binary search
    12. Practice problems: Recursion
  4. Dynamic array
    1. 1D example
    2. 2D example
    3. Practice problems: Dynamic Array
  5. Stack
    1. Using array, without class
    2. Using array, with class
    3. Using LinkedList, with struct
    4. Using LinkedList, with class
    5. Practice problems: Stack
  6. Queue
    1. Non-circular queue using array without class
    2. Circular queue using array without class
    3. Circular queue using array with class
    4. Using LinkedList, with struct
    5. Using LinkedList, with class
    6. Practice problems: Stack + Queue
  7. Singly Linked List
    1. Using struct
    2. Using class
    3. Practice problems: Singly Linked List
  8. Doubly Linked List
    1. Using struct
    2. Using class
    3. Practice problems: Doubly Linked List
  9. Circular Linked List
    1. Using struct
    2. Using class
    3. Practice problems: Circular Linked List
  10. Tree
    1. Binary Tree
    2. Binary Search Tree
    3. Practice problems: Tree
  11. Heap
    1. Min-heap
    2. Max-heap
    3. Practice problems: Heap
  12. Graph
    1. Breadth-first search
    2. Depth-first search
    3. Finding shortest path
    4. Practice problems: Graph