You have a 100-story building and a couple of marbles. You must identify the lowest floor for which a marble will break if you drop it from this floor. How fast can you find this floor if you are given an infinite supply of marbles? What if you have only two marbles?
Answers
Answered by
0
You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?
Similar questions
English,
6 months ago
Computer Science,
6 months ago
Science,
6 months ago
Physics,
11 months ago
Math,
11 months ago
Computer Science,
1 year ago
Biology,
1 year ago