Skip to content

Data Structures and Algorithms syllabus

COMP 2029 units · 80 topics
Browse the units

1Chapter 1: The Analysis of Algorithms [3 hours]

  1. 1.1
    Introduction to Algorithm
    1. 1.1.1
      Introduction to Algorithm
  2. 1.2
    Characteristics of an Algorithm
    1. 1.2.1
      Finiteness
      1. 1.2.1.1
        Finiteness
    2. 1.2.2
      Definiteness
      1. 1.2.2.1
        Definiteness
    3. 1.2.3
      Input
      1. 1.2.3.1
        Input
    4. 1.2.4
      Output
      1. 1.2.4.1
        Output
    5. 1.2.5
      Effectiveness
      1. 1.2.5.1
        Effectiveness
  3. 1.3
    Array
    1. 1.3.1
      Array
  4. 1.4
    Pointers
    1. 1.4.1
      Pointers
  5. 1.5
    Structures
    1. 1.5.1
      Structures
  6. 1.6
    Asymptotic Analysis
    1. 1.6.1
      Big O Notation
      1. 1.6.1.1
        Big O Notation
    2. 1.6.2
      Omega Notation
      1. 1.6.2.1
        Omega Notation
    3. 1.6.3
      Theta Notation
      1. 1.6.3.1
        Theta Notation

2Chapter 2: Linear Data Structure – Stack [5 hours]

  1. 2.1
    Definition
    1. 2.1.1
      Definition
  2. 2.2
    Operation
    1. 2.2.1
      push (stack, value)
      1. 2.2.1.1
        push (stack, value)
    2. 2.2.2
      pop (stack, value)
      1. 2.2.2.1
        pop (stack, value)
    3. 2.2.3
      isEmpty(stack)
      1. 2.2.3.1
        is Empty(stack)
    4. 2.2.4
      stackTop(stack)
      1. 2.2.4.1
        stack Top(stack)
  3. 2.3
    Representing Stack in C
    1. 2.3.1
      Representing stack in C
  4. 2.4
    Implementing Each Operation of Stack in C
    1. 2.4.1
      Implementing each operation of stack in C
  5. 2.5
    Definitions of Infix, Prefix and Postfix Expression
    1. 2.5.1
      Definitions of Infix, prefix, and postfix expression
  6. 2.6
    Evaluating a Postfix Expression
    1. 2.6.1
      Evaluating a postfix expression
  7. 2.7
    Converting an Expression from Infix to Postfix
    1. 2.7.1
      Converting an expression from Infix to Postfix

3Chapter 3: Linear Data Structure – Queue [5 hours]

  1. 3.1
    Definition
    1. 3.1.1
      Definition
  2. 3.2
    Operation
    1. 3.2.1
      remove(queue)
      1. 3.2.1.1
        remove(queue)
    2. 3.2.2
      insert(queue, value)
      1. 3.2.2.1
        insert (queue, value)
    3. 3.2.3
      isEmpty(queue)
      1. 3.2.3.1
        is Empty(queue)
  3. 3.3
    ADT Specification
    1. 3.3.1
      ADT Specification of Queue
  4. 3.4
    Priority Queue
    1. 3.4.1
      Ascending Priority Queue
      1. 3.4.1.1
        Ascending priority queue
    2. 3.4.2
      Descending Priority Queue
      1. 3.4.2.1
        Descending priority queue
  5. 3.5
    Circular Queue
    1. 3.5.1
      Circular queue
  6. 3.6
    Representing Queue in C
    1. 3.6.1
      Representing Queue in C
  7. 3.7
    Implementing Each Operation of Queue in C
    1. 3.7.1
      Implementing each operation of queue in C

4Chapter 4: Linear Data Structure – Linked List [8 hours]

  1. 4.1
    Definition
    1. 4.1.1
      Definition
  2. 4.2
    Inserting and Removing Nodes from a List
    1. 4.2.1
      Inserting and removing nodes from a list
  3. 4.3
    List Traversal
    1. 4.3.1
      List traversal
  4. 4.4
    Linked Implementation of Stack
    1. 4.4.1
      Linked implementation of Stack
  5. 4.5
    Linked Implementation of Queue
    1. 4.5.1
      Linked implementation of Queue
  6. 4.6
    Doubly Linked List
    1. 4.6.1
      Doubly Linked List
  7. 4.7
    Circular Linked List
    1. 4.7.1
      Circular Linked List

5Chapter 5: Hierarchical Data Structure – Tree [8 hours]

  1. 5.1
    Concept and Definition
    1. 5.1.1
      Concept and definition
  2. 5.2
    Basic Terminologies
    1. 5.2.1
      Root
      1. 5.2.1.1
        Root
    2. 5.2.2
      Leaf
      1. 5.2.2.1
        Leaf
    3. 5.2.3
      Right
      1. 5.2.3.1
        Right
    4. 5.2.4
      Left
      1. 5.2.4.1
        Left
    5. 5.2.5
      Father
      1. 5.2.5.1
        Father
    6. 5.2.6
      Son
      1. 5.2.6.1
        Son
    7. 5.2.7
      Brother
      1. 5.2.7.1
        Brother
  3. 5.3
    Basic Operations in Binary Tree
    1. 5.3.1
      Basic operations in binary tree
  4. 5.4
    Binary Search Tree
    1. 5.4.1
      Binary Search Tree
  5. 5.5
    Operation on Binary Search Tree
    1. 5.5.1
      Searching a Node in Binary Search Tree
      1. 5.5.1.1
        Searching a node in Binary Search Tree
    2. 5.5.2
      Insertion of a Node in Binary Search Tree
      1. 5.5.2.1
        Insertion of a node in Binary Search Tree
    3. 5.5.3
      Deletion of a Node from Binary Search Tree
      1. 5.5.3.1
        Deletion of a node from Binary Search Tree
  6. 5.6
    Application of Binary Trees
    1. 5.6.1
      Application of binary trees
  7. 5.7
    Binary Tree Traversals
    1. 5.7.1
      Pre-order (Depth First Order)
      1. 5.7.1.1
        Pre-order (depth first order)
    2. 5.7.2
      In-order (Symmetric Order)
      1. 5.7.2.1
        In-order (symmetric order)
    3. 5.7.3
      Post-order
      1. 5.7.3.1
        Post-order
  8. 5.8
    Tree Terminologies and Types
    1. 5.8.1
      Tree Height
      1. 5.8.1.1
        Tree height
    2. 5.8.2
      Level
      1. 5.8.2.1
        Level
    3. 5.8.3
      Depth
      1. 5.8.3.1
        Depth
    4. 5.8.4
      Strictly Binary Tree
      1. 5.8.4.1
        Strictly binary tree
    5. 5.8.5
      Complete Binary Tree
      1. 5.8.5.1
        Complete binary tree
    6. 5.8.6
      Almost Complete Binary Tree
      1. 5.8.6.1
        Almost complete binary tree

6Chapter 6: Graph [8 hours]

  1. 6.1
    Introduction to Graph
    1. 6.1.1
      Introduction to Graph
  2. 6.2
    Operations on Graph
    1. 6.2.1
      Operations on Graph
  3. 6.3
    Representation
    1. 6.3.1
      Adjacency Matrix and List Representation
      1. 6.3.1.1
        Adjacency Matrix and List Representation
  4. 6.4
    Graph Traversal and Spanning Forests
    1. 6.4.1
      Traversal Method: Depth First Search
      1. 6.4.1.1
        Traversal Method Depth First Search
    2. 6.4.2
      Traversal Method: Breadth First Search
      1. 6.4.2.1
        Breadth First Search
    3. 6.4.3
      Minimum Spanning Tree: Kruskal’s Algorithm
      1. 6.4.3.1
        Minimum Spanning Tree Kruskal’s Algorithm
    4. 6.4.4
      Minimum Spanning Tree: Prim’s Algorithm
      1. 6.4.4.1
        Minimum Spanning Tree Prim’s Algorithm

7Chapter 7: Sorting [6 hours]

  1. 7.1
    Sorting Algorithms
    1. 7.1.1
      Selection Sort
      1. 7.1.1.1
        Selection Sort
    2. 7.1.2
      Insertion Sort
      1. 7.1.2.1
        Insertion Sort
    3. 7.1.3
      Quick Sort
      1. 7.1.3.1
        Quick Sort
    4. 7.1.4
      Merge Sort
      1. 7.1.4.1
        Merge Sort
    5. 7.1.5
      Heap Sort
      1. 7.1.5.1
        Heap Sort

8Chapter 8: Searching and Hashing [5 hours]

  1. 8.1
    Basic Search Techniques
    1. 8.1.1
      Sequential Search
      1. 8.1.1.1
        Sequential Search
    2. 8.1.2
      Binary Search
      1. 8.1.2.1
        Binary Search
  2. 8.2
    Hashing
    1. 8.2.1
      Introduction to Hashing, a Hash Function and Hash Tables
      1. 8.2.1.1
        Introduction to Hashing a HashFunction and hash tables
    2. 8.2.2
      Collision Resolution Techniques
      1. 8.2.2.1
        Collision resolution techniques

9Text Books

  1. 9.1
    Data Structures Using C and C++ – Langsam, Augenstein and Tenenbaum
    1. 9.1.1
      1. Langsan, Augestein, and Tenenbaum, "Data Structures Using C and C++".
  2. 9.2
    Fundamentals of Data Structures in C++ – Horowitz, Sahni and Rajasekaran
    1. 9.2.1
      2. Ellis Horowitz, Sartaj Sahni and Sanghevar Rajasekaran, Fundamentals of Data Structures in C++