Data Structure and Algorithm syllabus
ENCT 2528 units · 57 topicsAcademic year 2083/84
Browse the units
1Introduction (4 Hrs)
- 1.1
Introduction to data structures- 1.1.1
Need of data structures
- 1.1.2
Types of data structures and its characteristics
- 1.2
Abstract data type (ADT)
- 1.3
Basics of algorithm design techniques (Brute Force, divide and conquer, Greedy algorithms, branch and bound, backtracking, randomized, recursive, dynamic programming)
- 1.4
Algorithm analysis- 1.4.1
Time and space complexity
- 1.4.2
Best, worst and average case analysis
- 1.4.3
Rate of growth
- 1.4.4
Asymptotic notations: Big Oh, Big Omega and Big Theta
2Stack and Recursion (7 Hrs)
- 2.1
Definition of stack and its operations
- 2.2
Array implementation of stack ADT
- 2.3
Stack applications- 2.3.1
Expression conversion: Infix to postfix and prefix expression
- 2.3.2
Expression evaluation: Infix and postfix expression evaluation
- 2.4
Recursion- 2.4.1
Concept of recursion
- 2.4.2
Recursion and stack
- 2.4.3
Recursion vs iteration
- 2.4.4
Execution of recursive calls
- 2.4.5
Types of recursions
- 2.4.6
Applications of recursion: Tower of Hanoi
3Queues (5 Hrs)
- 3.1
Definition of queue and its operations
- 3.2
Array implementation of queue ADT
- 3.3
Types of queue ADT: Linear, circular, double ended and priority queues
4Linked List (6 Hrs)
- 4.1
Definition of list and its operations
- 4.2
Array implementation of list ADT
- 4.3
Static list and its limitations
- 4.4
Linked list: Definition and its operations
- 4.5
Types of linked list: Singly, doubly, circular
- 4.6
Application of linked list- 4.6.1
Linked list implementation of stack and queue ADT
- 4.6.2
Solving polynomial equations using linked list
5Tree (7 Hrs)
- 5.1
Definition and tree terminologies
- 5.2
Binary trees- 5.2.1
Definition and types
- 5.2.2
Array and linked list representation
- 5.2.3
Traversal algorithms: Pre-order, in-order and post-order traversal
- 5.2.4
Application of full binary tree: Huffman algorithm
- 5.3
Binary search tree- 5.3.1
Definition and operations on binary search tree: Insertion, deletion, searching and traversing
- 5.3.2
Construction of binary search tree
- 5.4
Balanced binary tree- 5.4.1
Problem with unbalanced binary trees
- 5.4.2
Balanced binary search tree
- 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
Introduction to red-black tree
- 5.6
B-Tree: Need, definition and construction of B-tree
6Graphs (6 Hrs)
- 6.1
Definition, terminologies and types of graphs
- 6.2
Representation of graphs: Adjacency matrix, incidence matrix and adjacency list
- 6.3
Transitive closure and Warshall's algorithm
- 6.4
Graph traversals: Breadth-first search, depth-first search and topological sort
- 6.5
Minimum spanning tree: Kruskal's algorithm and prim's algorithm
- 6.6
Shortest-paths problems: Dijkstra's algorithm, Floyd-Warshall algorithm
7Sorting Algorithms (5 Hrs)
- 7.1
Definition of sorting and its applications
- 7.2
Types of sorting: Internal/external sort, stable/unstable sort, in-place/not in-place sort, adaptive/non-adaptive sort
- 7.3
Sorting algorithms and its efficiency: Bubble, insertion, selection, shell, quick, merge, radix and heap sorting
8Searching Algorithms (5 Hrs)
- 8.1
Definition of searching techniques and its applications
- 8.2
Different searching algorithms and its efficiency- 8.2.1
Sequential search
- 8.2.2
Binary search
- 8.3
Hashing- 8.3.1
Definition and its applications
- 8.3.2
Hash function
- 8.3.3
Hash table
- 8.3.4
Collision in hash table
- 8.3.5
Collision resolution techniques: Chaining method and open addressing method (Linear probing, quadratic probing and double hashing)