Data Structures and Algorithms syllabus
ICT.ED.4359 units · 53 topicsAcademic year 2083/84
Browse the units
1Introduction to Data Structures & Algorithms (5 Hrs)
Specific Objectives
Define Data structure and Abstract Data Types (ADT)
Define algorithms and its types and asymptotic notations
Specific Objectives
Define Data structure and ADT.
Define algorithms and its types and asymptotic notations.
Data type and Abstract data types
Data structures: linear and non-linear, static and dynamic
AlgorithmsGreedy algorithm
Divide and Conquer
Backtracking
Randomized algorithms
Analysis of Algorithms: Big O notation and its rules
Practical: dynamic memory management; asymptotic notations and complexity
2Arrays, Pointers and Structures (6 Hrs)
Specific Objectives
Demonstrate relationship between array and pointer
Implement structure pointers and self-referential pointer
Allocate memory dynamically using malloc, calloc, realloc and free functions
Specific Objectives
Demonstrate relationship between array and pointer.
Implement structure pointers and self-referential pointer.
Allocate memory dynamically using malloc, calloc, realloc and free functions.
Array and Pointer
Structure and PointerStructure pointer
Self-referential pointer
Dynamic Memory Allocation: malloc, calloc, realloc, free
Practical: Write program to illustrate dynamic memory allocation
3Linked Lists (8 Hrs)
Specific Objectives
Define linked list its type and applications
Implement different types of linked list with its operations
Make comparison between array list and linked list
Specific Objectives
Define linked list its type and applications.
Implement different types of linked list with its operations.
Make comparison between array list and linked list.
Single Linked list: traversing, searching, inserting and deleting
Doubly Linked List: traversing, inserting, creating and deleting
Circular Linked List: traversing, inserting, creating and deleting
Comparison of Array list and Linked list
Practical: Implement singly, doubly and circular linked list operations
4Stack (6 Hrs)
Specific Objectives
Define and implement stack and stack operations
Convert expressions into different forms: infix, prefix and postfix
Describe the applications of the stack
Specific Objectives
Define and implement stack and stack operations.
Convert expressions in to different forms: infix, prefix and postfix.
Describe the applications of the stack.
Introduction
Array Implementation of Stack
Linked List Implementation of Stack
Applications of StackConversion from infix to postfix expression
Evaluation of postfix expressions
Practical: Create stack with array/linked list; expression conversion and evaluation
5Queue (6 Hrs)
Specific Objectives
Define queue and its operations
Implement different types of queue
Specific Objectives
Define queue and its operations.
Implement different types of queue.
Introduction
Array Implementation of Queue
Linked List Implementation of Queue
Circular Queue
Priority Queue
Practical: Implement linear, circular and priority queue with array and linked list
6Recursion (4 Hrs)
Specific Objectives
Define recursion
Differentiate between recursion and iteration
Implement recursion to solve TOH and Fibonacci series
Specific Objectives
Define recursion.
Differentiate between recursion and iteration.
Implement recursion to solve TOH and Fibonacci series.
Introduction
Examples of Recursion: factorial, fibonacci sequence, Tower of Hanoi (TOH)
Applications and Efficiency of recursion
Practical: Solve TOH; print Fibonacci series; calculate factorial
7Trees (8 Hrs)
Specific Objectives
Define tree and tree operations
Create and manipulate Binary tree, BST, and AVL tree
Specific Objectives
Define tree and tree operations.
Create and manipulate Binary tree, BST, AVL tree.
Introduction
Binary Tree: Construction, Traversal (pre-order, in-order, post-order)
Binary Search Tree: Construction, Traversal
AVL tree: Construction, Traversal
Heap: Building a heap
Practical: Implement binary tree, BST, AVL tree
8Searching, Sorting and Hashing (15 Hrs)
Specific Objectives
Define sorting and its type
Demonstrate hashing
Illustrate and implement bubble, selection, insertion, merge, quick and heap sort
Implement searching algorithms
Identify and compare the efficiency of mentioned sorting algorithms
Specific Objectives
Define sorting and its type.
Demonstrate hashing.
Illustrate and implement bubble, selection, insertion, merge, quick and heap sort.
Implement searching algorithms.
Identify and compare the efficiency of mentioned sorting algorithms.
Introduction
Sequential and Binary Search
Hashing: Hash function (truncation, division method, folding, midsquare)
Hash collision and resolution techniques
Sorting Algorithms: Bubble, Selection, Insertion, Merge, Quick and Heap sort
Efficiency of Sorting Algorithms
Practical: Implement bubble/selection/insertion/quick/merge/heap sort, binary/linear search, hash function
9Graphs (6 Hrs)
Specific Objectives
Define graph and graph terminologies
Explain and implement graph traversal algorithms
Find the shortest path using Dijkstra's Algorithm
Define MST and implement Kruskal's algorithm
Specific Objectives
Define graph and graph terminologies.
Explain and implement graph traversal algorithms.
Find the shortest path using Dijkstra's Algorithm.
Define MST and implement kruskal's.
Graph Terminology
Directed and undirected graph
Graph Traversal: BFS and DFS
Minimum Spanning Trees: Kruskal Algorithm
Shortest Path Algorithms: Dijkstra's Algorithm
Practical: Implement graph traversal (BFS, DFS), Kruskal and Dijkstra's algorithm