Suppose that someone purchases a piece of candy for cents, where is in the range . What is the fewest number of coins (of denomination ) that you need to always provide change for this transaction?
Suppose that someone purchases a piece of candy for cents, where is in the range . What is the fewest number of coins (of denomination ) that you need to always provide change for this transaction?
Create a free account to answer questions and track your progress — across 2,000+ interview questions.
Get started for free