Skip to content

Data Structure and Algorithm syllabus

ENCT 2528 units · 57 topicsAcademic year 2083/84
Browse the units

1Introduction (4 Hrs)

  1. 1.1
    1.1 Introduction to data structures
    1. 1.1.1
      1.1.1 Need of data structures
    2. 1.1.2
      1.1.2 Types of data structures and its characteristics
  2. 1.2
    1.2 Abstract data type (ADT)
  3. 1.3
    1.3 Basics of algorithm design techniques (Brute Force, divide and conquer, Greedy algorithms, branch and bound, backtracking, randomized, recursive, dynamic programming)
  4. 1.4
    1.4 Algorithm analysis
    1. 1.4.1
      1.4.1 Time and space complexity
    2. 1.4.2
      1.4.2 Best, worst and average case analysis
    3. 1.4.3
      1.4.3 Rate of growth
    4. 1.4.4
      1.4.4 Asymptotic notations: Big Oh, Big Omega and Big Theta

2Stack and Recursion (7 Hrs)

  1. 2.1
    2.1 Definition of stack and its operations
  2. 2.2
    2.2 Array implementation of stack ADT
  3. 2.3
    2.3 Stack applications
    1. 2.3.1
      2.3.1 Expression conversion: Infix to postfix and prefix expression
    2. 2.3.2
      2.3.2 Expression evaluation: Infix and postfix expression evaluation
  4. 2.4
    2.4 Recursion
    1. 2.4.1
      2.4.1 Concept of recursion
    2. 2.4.2
      2.4.2 Recursion and stack
    3. 2.4.3
      2.4.3 Recursion vs iteration
    4. 2.4.4
      2.4.4 Execution of recursive calls
    5. 2.4.5
      2.4.5 Types of recursions
    6. 2.4.6
      2.4.6 Applications of recursion: Tower of Hanoi

3Queues (5 Hrs)

  1. 3.1
    3.1 Definition of queue and its operations
  2. 3.2
    3.2 Array implementation of queue ADT
  3. 3.3
    3.3 Types of queue ADT: Linear, circular, double ended and priority queues

4Linked List (6 Hrs)

  1. 4.1
    4.1 Definition of list and its operations
  2. 4.2
    4.2 Array implementation of list ADT
  3. 4.3
    4.3 Static list and its limitations
  4. 4.4
    4.4 Linked list: Definition and its operations
  5. 4.5
    4.5 Types of linked list: Singly, doubly, circular
  6. 4.6
    4.6 Application of linked list
    1. 4.6.1
      4.6.1 Linked list implementation of stack and queue ADT
    2. 4.6.2
      4.6.2 Solving polynomial equations using linked list

5Tree (7 Hrs)

  1. 5.1
    5.1 Definition and tree terminologies
  2. 5.2
    5.2 Binary trees
    1. 5.2.1
      5.2.1 Definition and types
    2. 5.2.2
      5.2.2 Array and linked list representation
    3. 5.2.3
      5.2.3 Traversal algorithms: Pre-order, in-order and post-order traversal
    4. 5.2.4
      5.2.4 Application of full binary tree: Huffman algorithm
  3. 5.3
    5.3 Binary search tree
    1. 5.3.1
      5.3.1 Definition and operations on binary search tree: Insertion, deletion, searching and traversing
    2. 5.3.2
      5.3.2 Construction of binary search tree
  4. 5.4
    5.4 Balanced binary tree
    1. 5.4.1
      5.4.1 Problem with unbalanced binary trees
    2. 5.4.2
      5.4.2 Balanced binary search tree
    3. 5.4.3
      5.4.3 AVL tree, definition and need of AVL tree, construction of AVL tree: Insertion, deletion on AVL tree and rotation operations
  5. 5.5
    5.5 Introduction to red-black tree
  6. 5.6
    5.6 B-Tree: Need, definition and construction of B-tree

6Graphs (6 Hrs)

  1. 6.1
    6.1 Definition, terminologies and types of graphs
  2. 6.2
    6.2 Representation of graphs: Adjacency matrix, incidence matrix and adjacency list
  3. 6.3
    6.3 Transitive closure and Warshall's algorithm
  4. 6.4
    6.4 Graph traversals: Breadth-first search, depth-first search and topological sort
  5. 6.5
    6.5 Minimum spanning tree: Kruskal's algorithm and prim's algorithm
  6. 6.6
    6.6 Shortest-paths problems: Dijkstra's algorithm, Floyd-Warshall algorithm

7Sorting Algorithms (5 Hrs)

  1. 7.1
    7.1 Definition of sorting and its applications
  2. 7.2
    7.2 Types of sorting: Internal/external sort, stable/unstable sort, in-place/not in-place sort, adaptive/non-adaptive sort
  3. 7.3
    7.3 Sorting algorithms and its efficiency: Bubble, insertion, selection, shell, quick, merge, radix and heap sorting

8Searching Algorithms (5 Hrs)

  1. 8.1
    8.1 Definition of searching techniques and its applications
  2. 8.2
    8.2 Different searching algorithms and its efficiency
    1. 8.2.1
      8.2.1 Sequential search
    2. 8.2.2
      8.2.2 Binary search
  3. 8.3
    8.3 Hashing
    1. 8.3.1
      8.3.1 Definition and its applications
    2. 8.3.2
      8.3.2 Hash function
    3. 8.3.3
      8.3.3 Hash table
    4. 8.3.4
      8.3.4 Collision in hash table
    5. 8.3.5
      8.3.5 Collision resolution techniques: Chaining method and open addressing method (Linear probing, quadratic probing and double hashing)