Question: please solve as soon as possible..it is algorithn problem b) You are playing a game in a party. There are n balloons and one of

please solve as soon as possible..it is algorithn problem
b) You are playing a game in a party. There are n balloons and one of them has a gemstone [10] inside it. You are asked to find the balloon with the gemstone in it. Write an O(logn) divide and conquer algorithm to locate/find the balloon with the gemstone. Hints: 1) Balloon with the gemstone will be heavier than the other balloons. 2) Dividing the balloons into 2 halves will give you a clue which pile has the balloon with gemstone
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
