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
Data structures: definition and types; abstract data type- 1.1.1
Definition and types of data structures
- 1.1.2
Abstract data type (ADT)
- 1.2
Dynamic memory: malloc, calloc, realloc and free- 1.2.1
malloc and calloc
- 1.2.2
realloc and free
- 1.3
Introduction to algorithms: definition and properties- 1.3.1
Definition of an algorithm
- 1.3.2
Properties of an algorithm
- 1.4
Asymptotic notations: Big-O, Big-Omega and Big-Theta- 1.4.1
Big-O notation
- 1.4.2
Big-Omega notation
- 1.4.3
Big-Theta notation
2Stacks (5 Hrs)
- 2.1
Definition of stack as an ADT- 2.1.1
Definition of a stack
- 2.1.2
Stack as an abstract data type (ADT)
- 2.2
Stack operations: concept and algorithms- 2.2.1
Concept of stack operations
- 2.2.2
Algorithms for stack operations
- 2.3
Stack applications- 2.3.1
Stack applications
3Queues (6 Hrs)
- 3.1
Definition of queue as an ADT- 3.1.1
Definition of a queue
- 3.1.2
Queue as an abstract data type (ADT)
- 3.2
Queue operations: concept and algorithms; queue applications- 3.2.1
Concept of queue operations
- 3.2.2
Algorithms for queue operations
- 3.2.3
Queue applications
- 3.3
Linear and circular queues; circular queue operations- 3.3.1
Linear queue and its limitations
- 3.3.2
Circular queue
- 3.3.3
Concept and algorithms of circular queue operations
- 3.4
Concept of priority queue- 3.4.1
Concept of a priority queue
4Recursion (4 Hrs)
- 4.1
Definition of recursion; recursion vs iteration- 4.1.1
Definition of recursion
- 4.1.2
Recursion vs iteration
- 4.2
Factorial, Fibonacci sequence and Tower of Hanoi- 4.2.1
Factorial
- 4.2.2
Fibonacci sequence
- 4.2.3
Tower of Hanoi (TOH)
- 4.3
Applications and efficiency of recursion- 4.3.1
Applications of recursion
- 4.3.2
Efficiency of recursion
5Linked Lists (8 Hrs)
- 5.1
Linked list as an ADT; types of linked list- 5.1.1
Linked list as an abstract data type (ADT)
- 5.1.2
Types of linked list
- 5.2
Basic operations in singly linked list: creation, insertion and deletion at beginning, end and specified position- 5.2.1
Creation of a singly linked list
- 5.2.2
Node insertion at the beginning, end and a specified position
- 5.2.3
Node deletion from the beginning, end and a specified position
- 5.3
Linked list implementation of stack and queue- 5.3.1
Linked list implementation of stack
- 5.3.2
Linked list implementation of queue
- 5.4
Other types of linked lists and applications of linked lists- 5.4.1
Concept of other types of linked lists
- 5.4.2
Applications of linked lists
6Trees (5 Hrs)
- 6.1
Concept of level, depth and number of nodes- 6.1.1
Concept of level
- 6.1.2
Concept of depth
- 6.1.3
Number of nodes in a tree
- 6.2
Binary tree and binary search tree- 6.2.1
Binary tree
- 6.2.2
Binary search tree (BST)
- 6.3
Insertion, deletion and traversal of binary search tree- 6.3.1
Insertion in a BST
- 6.3.2
Deletion from a BST
- 6.3.3
Traversal of a BST
- 6.4
Applications of trees; concept of balanced trees- 6.4.1
Applications of trees
- 6.4.2
Concept of balanced trees
7Graphs (5 Hrs)
- 7.1
Representation and applications of graphs- 7.1.1
Representation of graphs
- 7.1.2
Applications of graphs
- 7.2
Graph traversal: depth-first and breadth-first traversal- 7.2.1
Depth-first traversal
- 7.2.2
Breadth-first traversal
- 7.3
Minimum spanning trees: Kruskal's algorithm- 7.3.1
Minimum spanning trees
- 7.3.2
Kruskal's algorithm
8Sorting and Searching (7 Hrs)
- 8.1
Concept of sorting and searching- 8.1.1
Concept of sorting
- 8.1.2
Concept of searching
- 8.2
Comparison sorting: bubble, selection and insertion sort, with complexity- 8.2.1
Bubble sort
- 8.2.2
Selection sort
- 8.2.3
Insertion sort
- 8.2.4
Complexity of comparison sorts
- 8.3
Divide and conquer sorting: merge sort and quick sort, with complexity- 8.3.1
Merge sort
- 8.3.2
Quick sort
- 8.3.3
Complexity of divide and conquer sorts
- 8.4
Searching algorithms: sequential and binary search- 8.4.1
Sequential search
- 8.4.2
Binary search
- 8.5
Hash data structure and hash function- 8.5.1
Hash data structure
- 8.5.2
Hash function
9Laboratory Work (45 Hrs)
- 9.1
Implement stack operations- 9.1.1
Implement the prescribed data-structure/algorithm operation
- 9.1.2
Test with representative cases, analyze output and document results
- 9.2
Implement linear queue operations- 9.2.1
Implement the prescribed data-structure/algorithm operation
- 9.2.2
Test with representative cases, analyze output and document results
- 9.3
Implement circular queue operations- 9.3.1
Implement the prescribed data-structure/algorithm operation
- 9.3.2
Test with representative cases, analyze output and document results
- 9.4
Implement recursive algorithms- 9.4.1
Implement the prescribed data-structure/algorithm operation
- 9.4.2
Test with representative cases, analyze output and document results
- 9.5
Implement linked list operations- 9.5.1
Implement the prescribed data-structure/algorithm operation
- 9.5.2
Test with representative cases, analyze output and document results
- 9.6
Implement linked stack and linked queue- 9.6.1
Implement the prescribed data-structure/algorithm operation
- 9.6.2
Test with representative cases, analyze output and document results
- 9.7
Implement comparison sorting algorithms- 9.7.1
Implement the prescribed data-structure/algorithm operation
- 9.7.2
Test with representative cases, analyze output and document results
- 9.8
Implement searching algorithms- 9.8.1
Implement the prescribed data-structure/algorithm operation
- 9.8.2
Test with representative cases, analyze output and document results
- 9.9
Implement binary search tree operations- 9.9.1
Implement the prescribed data-structure/algorithm operation
- 9.9.2
Test with representative cases, analyze output and document results
- 9.10
Implement graph operations- 9.10.1
Implement the prescribed data-structure/algorithm operation
- 9.10.2
Test with representative cases, analyze output and document results