โ† Microsoft questions

Coin change ways for amount x

Filed under Microsoft

Given an amount 'x' and a set of coin denominations {1, 2, 5, 10}, find the total number of distinct ways to make change for 'x'.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.