Question: 1) Write D & C algorithm to search about an item X in array of size n Write the recurrence equation of the algorithm and
1)
Write D & C algorithm to search about an item X in array of size n
Write the recurrence equation of the algorithm and find the time complexity .
2)
For the fake coin problem
1. write a BF algorithm and find the time complexity
2. write D & C algorithm and find the time complexity
3. write Dec & C algorithm and find the time complexity
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
