Skip to content

Data Structure and Algorithm syllabus

EG 2105 CT9 units · 40 topicsAcademic year 2083/84
Browse the units

1Introduction to Data Structures and Algorithms (5 Hrs)

  1. 1.1
    Data structures: definition and types; abstract data type
    1. 1.1.1
      Definition and types of data structures
    2. 1.1.2
      Abstract data type (ADT)
  2. 1.2
    Dynamic memory: malloc, calloc, realloc and free
    1. 1.2.1
      malloc and calloc
    2. 1.2.2
      realloc and free
  3. 1.3
    Introduction to algorithms: definition and properties
    1. 1.3.1
      Definition of an algorithm
    2. 1.3.2
      Properties of an algorithm
  4. 1.4
    Asymptotic notations: Big-O, Big-Omega and Big-Theta
    1. 1.4.1
      Big-O notation
    2. 1.4.2
      Big-Omega notation
    3. 1.4.3
      Big-Theta notation

2Stacks (5 Hrs)

  1. 2.1
    Definition of stack as an ADT
    1. 2.1.1
      Definition of a stack
    2. 2.1.2
      Stack as an abstract data type (ADT)
  2. 2.2
    Stack operations: concept and algorithms
    1. 2.2.1
      Concept of stack operations
    2. 2.2.2
      Algorithms for stack operations
  3. 2.3
    Stack applications
    1. 2.3.1
      Stack applications

3Queues (6 Hrs)

  1. 3.1
    Definition of queue as an ADT
    1. 3.1.1
      Definition of a queue
    2. 3.1.2
      Queue as an abstract data type (ADT)
  2. 3.2
    Queue operations: concept and algorithms; queue applications
    1. 3.2.1
      Concept of queue operations
    2. 3.2.2
      Algorithms for queue operations
    3. 3.2.3
      Queue applications
  3. 3.3
    Linear and circular queues; circular queue operations
    1. 3.3.1
      Linear queue and its limitations
    2. 3.3.2
      Circular queue
    3. 3.3.3
      Concept and algorithms of circular queue operations
  4. 3.4
    Concept of priority queue
    1. 3.4.1
      Concept of a priority queue

4Recursion (4 Hrs)

  1. 4.1
    Definition of recursion; recursion vs iteration
    1. 4.1.1
      Definition of recursion
    2. 4.1.2
      Recursion vs iteration
  2. 4.2
    Factorial, Fibonacci sequence and Tower of Hanoi
    1. 4.2.1
      Factorial
    2. 4.2.2
      Fibonacci sequence
    3. 4.2.3
      Tower of Hanoi (TOH)
  3. 4.3
    Applications and efficiency of recursion
    1. 4.3.1
      Applications of recursion
    2. 4.3.2
      Efficiency of recursion

5Linked Lists (8 Hrs)

  1. 5.1
    Linked list as an ADT; types of linked list
    1. 5.1.1
      Linked list as an abstract data type (ADT)
    2. 5.1.2
      Types of linked list
  2. 5.2
    Basic operations in singly linked list: creation, insertion and deletion at beginning, end and specified position
    1. 5.2.1
      Creation of a singly linked list
    2. 5.2.2
      Node insertion at the beginning, end and a specified position
    3. 5.2.3
      Node deletion from the beginning, end and a specified position
  3. 5.3
    Linked list implementation of stack and queue
    1. 5.3.1
      Linked list implementation of stack
    2. 5.3.2
      Linked list implementation of queue
  4. 5.4
    Other types of linked lists and applications of linked lists
    1. 5.4.1
      Concept of other types of linked lists
    2. 5.4.2
      Applications of linked lists

6Trees (5 Hrs)

  1. 6.1
    Concept of level, depth and number of nodes
    1. 6.1.1
      Concept of level
    2. 6.1.2
      Concept of depth
    3. 6.1.3
      Number of nodes in a tree
  2. 6.2
    Binary tree and binary search tree
    1. 6.2.1
      Binary tree
    2. 6.2.2
      Binary search tree (BST)
  3. 6.3
    Insertion, deletion and traversal of binary search tree
    1. 6.3.1
      Insertion in a BST
    2. 6.3.2
      Deletion from a BST
    3. 6.3.3
      Traversal of a BST
  4. 6.4
    Applications of trees; concept of balanced trees
    1. 6.4.1
      Applications of trees
    2. 6.4.2
      Concept of balanced trees

7Graphs (5 Hrs)

  1. 7.1
    Representation and applications of graphs
    1. 7.1.1
      Representation of graphs
    2. 7.1.2
      Applications of graphs
  2. 7.2
    Graph traversal: depth-first and breadth-first traversal
    1. 7.2.1
      Depth-first traversal
    2. 7.2.2
      Breadth-first traversal
  3. 7.3
    Minimum spanning trees: Kruskal's algorithm
    1. 7.3.1
      Minimum spanning trees
    2. 7.3.2
      Kruskal's algorithm

8Sorting and Searching (7 Hrs)

  1. 8.1
    Concept of sorting and searching
    1. 8.1.1
      Concept of sorting
    2. 8.1.2
      Concept of searching
  2. 8.2
    Comparison sorting: bubble, selection and insertion sort, with complexity
    1. 8.2.1
      Bubble sort
    2. 8.2.2
      Selection sort
    3. 8.2.3
      Insertion sort
    4. 8.2.4
      Complexity of comparison sorts
  3. 8.3
    Divide and conquer sorting: merge sort and quick sort, with complexity
    1. 8.3.1
      Merge sort
    2. 8.3.2
      Quick sort
    3. 8.3.3
      Complexity of divide and conquer sorts
  4. 8.4
    Searching algorithms: sequential and binary search
    1. 8.4.1
      Sequential search
    2. 8.4.2
      Binary search
  5. 8.5
    Hash data structure and hash function
    1. 8.5.1
      Hash data structure
    2. 8.5.2
      Hash function

9Laboratory Work (45 Hrs)

  1. 9.1
    Implement stack operations
    1. 9.1.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.1.2
      Test with representative cases, analyze output and document results
  2. 9.2
    Implement linear queue operations
    1. 9.2.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.2.2
      Test with representative cases, analyze output and document results
  3. 9.3
    Implement circular queue operations
    1. 9.3.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.3.2
      Test with representative cases, analyze output and document results
  4. 9.4
    Implement recursive algorithms
    1. 9.4.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.4.2
      Test with representative cases, analyze output and document results
  5. 9.5
    Implement linked list operations
    1. 9.5.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.5.2
      Test with representative cases, analyze output and document results
  6. 9.6
    Implement linked stack and linked queue
    1. 9.6.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.6.2
      Test with representative cases, analyze output and document results
  7. 9.7
    Implement comparison sorting algorithms
    1. 9.7.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.7.2
      Test with representative cases, analyze output and document results
  8. 9.8
    Implement searching algorithms
    1. 9.8.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.8.2
      Test with representative cases, analyze output and document results
  9. 9.9
    Implement binary search tree operations
    1. 9.9.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.9.2
      Test with representative cases, analyze output and document results
  10. 9.10
    Implement graph operations
    1. 9.10.1
      Implement the prescribed data-structure/algorithm operation
    2. 9.10.2
      Test with representative cases, analyze output and document results