You are on page 1of 1

DEPARTMENT OF Computer Science & Information Technology

IES IPS ACADEMY


SESSION JULY-DEC 2023

ASSIGNMENT
CLASS- BTech II YEAR III SEM

DATA STRUCTURE
Date: 3/11/2023

Submission Date: 22/11/2023

ASSIGNMENT- IV

Q.1 Differentiate between DFS and BFS?

Q.2

Q.3 Explain Prim’s algorithm with example.

ASSIGNMENT- V

Q.1 Sort the data using quick sort:

35, 33, 42, 10, 14, 19, 27, 44, 26, 31

Q.2 Write down the algorithm of Binary search and also write its run time complexity?

Q.3 Consider the following list of unsorted numbers which are to be sort using heap sort.

82, 90, 10, 12, 15, 77, 55, 23

You might also like