Optiver–styleTraderTraderQuestion #17

Given $1, $5, $20, and $100 dollar bills, what is the fewest number of bills needed to form amounts ranging from $1 to $100? For example, $4 would require four $1 bills. Bills can be reused, so the number is not cumulative. What is the minimum number of bills you must have to always provide exact change for both a transaction of $x and $(100-x), where x < 100?

Build Your Approach

State the assumptions, try a simple case, then work toward a general solution. Check the result and explain how it changes if an assumption changes.

Try the free diagnostic with worked solutions →

Get Free Interview Prep Resources

Practice the Reasoning Behind the Answer

Bring your target roles and interview timeline to a free quant consult. Discuss your preparation priorities and how Quant Blueprint’s lessons, practice and mock interviews can help.

Book a Free Quant Consult

Your goals · your preparation · your next steps