Mary has K cakes that need candles numbered 1 to K. A shop sells candles from a stack of uniquely numbered candles, one at a time, always the top one. Find the minimum number of candles she must buy…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.