Data Structure and Algorithm syllabus
BMS2539 units · 57 topicsAcademic year 2083/84
Browse the units
1Introduction to Data Structure (3 hrs)
- 1.1
Data types
- 1.2
Concept of data structure
- 1.3
Abstract data type
- 1.4
Implementation of data structure
- 1.5
Introduction to algorithms
- 1.6
Basics of asymptotic notations
2The Stack (4 hrs)
- 2.1
Definition
- 2.2
Stack as an ADT
- 2.3
Stack operations
- 2.4
Stack application: evaluation of infix, postfix and prefix expressions
- 2.5
Conversion of infix to post/prefix expression
3Queue (3 hrs)
- 3.1
Definition
- 3.2
Queue as an ADT
- 3.3
Primitive operations in queue
- 3.4
Linear and circular queue and their application
- 3.5
Array based queue implementation
- 3.6
Priority queue
4Lists (9 hrs)
- 4.1
Definition
- 4.2
Static and dynamic list structure
- 4.3
Array implementation of lists
- 4.4
Queues as list
- 4.5
Linked list
- 4.6
Linked list as an ADT
- 4.7
Types of linked list: singly, circular, doubly linked lists
- 4.8
Basic operations in linked list: node creation, node insertion, deletion at different location
- 4.9
Implementation of stack and queue using linked list
5Recursion (3 hrs)
- 5.1
Principle of recursion
- 5.2
Comparison between recursion and iteration
- 5.3
Recursion examples: factorial, Fibonacci sequence, GCD and Tower of Hanoi (TOH)
- 5.4
Applications of recursion
6Sorting (7 hrs)
- 6.1
Introduction
- 6.2
Internal and external sorting
- 6.3
Insertion sort
- 6.4
Selection sort
- 6.5
Bubble sort
- 6.6
Merge sort and quick sort
- 6.7
Efficiency of sorting algorithm
7Searching and Hashing (5 hrs)
- 7.1
Introduction to searching
- 7.2
Search algorithm: sequential search, binary search
- 7.3
Efficiency of search algorithms
- 7.4
Hashing: hash function, hash table
- 7.5
Collision resolution techniques
8Trees (6 hrs)
- 8.1
Concepts of tree
- 8.2
Basic operation in binary tree
- 8.3
Tree height, level and depth
- 8.4
Tree search and insertion/deletions
- 8.5
Binary tree traversals (pre-order, post-order and in-order)
- 8.6
AVL tree
- 8.7
Balancing algorithm
9Graphs (8 hrs)
- 9.1
Representation and applications
- 9.2
Graphs as an ADT
- 9.3
Graph types
- 9.4
Transitive closure
- 9.5
Warshall's algorithm
- 9.6
Graph traversal
- 9.7
Minimum spanning tree: Kruskal's and Prim's algorithms
- 9.8
Shortest path algorithm: Dijkstra's algorithm