Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1- Writ a program to search for 4 from the list of the following elements { 2, 3, 4, 10, 40 } using Linear Search
1- Writ a program to search for 4 from the list of the following elements { 2, 3, 4, 10, 40 } using Linear Search technique.
2- Writ a program to search for 4 from the list of the following elements { 2, 3, 4, 10, 40 } using Binary Search technique.
3- Writ a program to sort the following list {5, 94, 25, 15, 22, 1, 87} of elements using Bubble sort technique.
4- Writ a program to sort the following list {35, 90, 75, 16, 2, 11, 67} using Selection sort technique.
5- Writ a program to built Singly linked list and do the following operations: addFirst(15)
addFirst(67)
addFirst(40)
addLast(80) removeFirst() Finaly, Display the list
6- Writ a program to built an Array based implementation of Stack and do the following operations: push(49)
push(10)
push(30)
pop()
Finaly,
Display the Stack
7- Writ a program to built an Array based implementation of Queue and do the following operations: enqueue(15)
enqueue(6)
dequeue()
enqueue(17) dequeue() enqueue(8) Finaly,
Display the Queue
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started