Skip to content

Data Structure and Algorithm syllabus

BMS2539 units · 57 topicsAcademic year 2083/84
Browse the units

1Introduction to Data Structure (3 hrs)

  1. 1.1
    Data types
  2. 1.2
    Concept of data structure
  3. 1.3
    Abstract data type
  4. 1.4
    Implementation of data structure
  5. 1.5
    Introduction to algorithms
  6. 1.6
    Basics of asymptotic notations

2The Stack (4 hrs)

  1. 2.1
    Definition
  2. 2.2
    Stack as an ADT
  3. 2.3
    Stack operations
  4. 2.4
    Stack application: evaluation of infix, postfix and prefix expressions
  5. 2.5
    Conversion of infix to post/prefix expression

3Queue (3 hrs)

  1. 3.1
    Definition
  2. 3.2
    Queue as an ADT
  3. 3.3
    Primitive operations in queue
  4. 3.4
    Linear and circular queue and their application
  5. 3.5
    Array based queue implementation
  6. 3.6
    Priority queue

4Lists (9 hrs)

  1. 4.1
    Definition
  2. 4.2
    Static and dynamic list structure
  3. 4.3
    Array implementation of lists
  4. 4.4
    Queues as list
  5. 4.5
    Linked list
  6. 4.6
    Linked list as an ADT
  7. 4.7
    Types of linked list: singly, circular, doubly linked lists
  8. 4.8
    Basic operations in linked list: node creation, node insertion, deletion at different location
  9. 4.9
    Implementation of stack and queue using linked list

5Recursion (3 hrs)

  1. 5.1
    Principle of recursion
  2. 5.2
    Comparison between recursion and iteration
  3. 5.3
    Recursion examples: factorial, Fibonacci sequence, GCD and Tower of Hanoi (TOH)
  4. 5.4
    Applications of recursion

6Sorting (7 hrs)

  1. 6.1
    Introduction
  2. 6.2
    Internal and external sorting
  3. 6.3
    Insertion sort
  4. 6.4
    Selection sort
  5. 6.5
    Bubble sort
  6. 6.6
    Merge sort and quick sort
  7. 6.7
    Efficiency of sorting algorithm

7Searching and Hashing (5 hrs)

  1. 7.1
    Introduction to searching
  2. 7.2
    Search algorithm: sequential search, binary search
  3. 7.3
    Efficiency of search algorithms
  4. 7.4
    Hashing: hash function, hash table
  5. 7.5
    Collision resolution techniques

8Trees (6 hrs)

  1. 8.1
    Concepts of tree
  2. 8.2
    Basic operation in binary tree
  3. 8.3
    Tree height, level and depth
  4. 8.4
    Tree search and insertion/deletions
  5. 8.5
    Binary tree traversals (pre-order, post-order and in-order)
  6. 8.6
    AVL tree
  7. 8.7
    Balancing algorithm

9Graphs (8 hrs)

  1. 9.1
    Representation and applications
  2. 9.2
    Graphs as an ADT
  3. 9.3
    Graph types
  4. 9.4
    Transitive closure
  5. 9.5
    Warshall's algorithm
  6. 9.6
    Graph traversal
  7. 9.7
    Minimum spanning tree: Kruskal's and Prim's algorithms
  8. 9.8
    Shortest path algorithm: Dijkstra's algorithm