Tutorial 2 DS
Tutorial 2 DS
TUTORIAL 2
Course & Branch:B.Tech/Computer Science & Subject Name: DATA STRUCTURE
Engineering
Semester: III Sem Subject Code:BCS-301
Assignment Given on-5/12/2024 Assignment Submission Date -19/12/2024
Name of the Faculty –Dicksha Sharma Session: 2024-25
S. No. Questions Marks CO BL
Note: Attempt all questions. Each question carries equal mark.
1(a) Explain what is ideal sorting algorithm? 1 3 K1
1(b) What is meant by to Sort in Place? 1 3 K2
How would you fine the maximum path sum in a binary tree. 1 4 K1
2(e)
3(a)
Define Euler Path And Euler Circuit In A Graph Theory. 1 5 K3
3(c) Compare DFS and BFS algorithms: strengths, weaknesses, and use 1 5 K2
cases.
3(d) How can you determine the shortest path in a directed acyclic graph 1 5 K4
(DAG)?