Change
3 experiences · Other (3)
3 entries
Change Machine Question - Best answer I ever seen from an interview
Reddit
SWE
Oct 2025
Experience
Changed LinkedIn to looking for work. Got confronted by my company's recruiter
Reddit
SWE
May 2022
Experience
Be the Change You Want To See: Start Refusing Unpaid Take-Home Coding Assignments
Reddit
SWE
Oct 2020
Experience
Reddit
Experience
·
Oct 2025
Change Machine Question - Best answer I ever seen from an interview
1 upvote
3 replies
Interview Experience
This is the answer of an interviewee from one of my colleague's interview, enjoy: def change (bills, coins, amount): from a in range(amount): billChange = max(bills) <= amount amountLeft = billchange - amount coinChange = max(coins) <= amountLeft cointChange return billChange + coinChange
Free preview. Unlock all questions →