Re:27 Jobs with Unbelievably Tough Interview Questions
by DannyBee on Friday February 24, 2017 @07:55AM
(#13723160)
It's not hard anyway?
It seems like it would take about a minute to work it out.
1x25c
2x10c
3x1c
It's pretty nearly the first thing you'd probably try.
(2 quarters can't work, so it must be 1 or zero, let's assume one, 23 cents left, 3 dimes can't work, let's assume 2, 3 cents left, no nickels can work, 3 pennies, done)
It seems like it would take about a minute to work it out.
1x25c 2x10c 3x1c
It's pretty nearly the first thing you'd probably try. (2 quarters can't work, so it must be 1 or zero, let's assume one, 23 cents left, 3 dimes can't work, let's assume 2, 3 cents left, no nickels can work, 3 pennies, done)