Skip to content

Data Structure and Algorithms syllabus

CMP 2277 units · 26 topicsAcademic year 2083/84
Browse the units

1Introduction to Data Structures and Algorithms (7 hrs)

  1. 1.1
    1.1 Introduction to Data Structures: data types and data structures, classification, ADTs
  2. 1.2
    1.2 Introduction to Algorithms: definition and characteristics, need/importance of DSA, algorithm design (Divide and Conquer, Greedy, Backtracking, Dynamic Programming)
  3. 1.3
    1.3 Algorithm Analysis: time complexity, best, worst and average case and rate of growth, asymptotic notation (Big O, Omega and Theta)

2Stack, Queues and Recursion

  1. 2.1
    2.1 Concept of stacks and Stack ADT: operations, implementation using arrays, applications (infix to postfix conversion)
  2. 2.2
    2.1.4 Recursion: concept, recursive vs iterative solutions, recursive problems (Factorial, Fibonacci, GCD, Tower of Hanoi), recursion and stack
  3. 2.3
    2.2 Concept of queues and Queue ADT: operations, implementation using arrays, types (linear and circular), priority queues and double ended queue

3Linked List

  1. 3.1
    3.1 Definition and List ADT, array vs linked list
  2. 3.2
    3.2 Types of Linked Lists: singly, doubly, circular
  3. 3.3
    3.3 Implementation of Singly Linked Lists: node creation, node insertion (beginning, end, specified position), node deletion (beginning, end, specified position)
  4. 3.4
    3.4 Linked List implementation of Stack and Queue

4Trees

  1. 4.1
    4.1 Tree concepts and terminology
  2. 4.2
    4.2 Binary trees: definition and types, representations (array-based, linked), traversal (PreOrder, InOrder, PostOrder), construction of binary tree from traversal, application: Huffman Algorithm
  3. 4.3
    4.3 Binary search trees: construction, basic operations (insert, delete, search)
  4. 4.4
    4.4 Introduction to balanced trees: need, AVL trees (insertion, deletion and rotation), B-tree definition and application

5Sorting

  1. 5.1
    5.1 Definition and classification of sorting algorithms (internal, external, stable, unstable)
  2. 5.2
    5.2 Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, Heap Sort
  3. 5.3
    5.3 Heap Sort and priority queues

6Searching Algorithm and Hashing

  1. 6.1
    6.1 Concept of searching algorithms: linear and binary search
  2. 6.2
    6.2 Hashing: concept, hash functions, collision resolution techniques
  3. 6.3
    6.3 Open hashing: separate chaining
  4. 6.4
    6.4 Closed addressing: linear probing, quadratic probing, double hashing, load factor and rehashing

7Graphs

  1. 7.1
    7.1 Graph concepts and representations (adjacency matrix, adjacency list) and types
  2. 7.2
    7.2 Graph traversals: Depth-first search (DFS), Breadth-first search (BFS)
  3. 7.3
    7.3 Topological Sort
  4. 7.4
    7.4 Minimum Spanning Tree: Kruskal's Algorithm, Prim's Algorithm
  5. 7.5
    7.5 Shortest path problems: Dijkstra's algorithm