0% found this document useful (0 votes)
5 views1 page

Data Structures Lab Assignment 2 Tasks

Uploaded by

vamshi krishna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Data Structures Lab Assignment 2 Tasks

Uploaded by

vamshi krishna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Data Structures Lab: Assignment 2

[Each Q- 20 Marks]

[Link] Statement: Construct a binary search tree for the data 5, 1, 7, 6, 3,


9, 6, 17, 64, 100, 2, 4

[Link] Statement: Describe the binary search algorithm for searching the
element 11 in the data: 8, 15, 18,19, 23, 43, 55, 67

[Link] Statement: Explain how the bubble sort algorithm works for the list
of numbers 11, 35, 67, 26, 121,45,11, 39, 113

[Link] Statement: Write a program to generate n random numbers and to


find the maximum minimum number and their sum

[Link] Statement: Sort the following list of elements using quick sort
algorithm 53, 81, 23, 28, 65, 43, 52, 95, 22

You might also like