Amazing! This tutorial is robust, comprehensive, and unambiguous, bravo!
@gauravpore65033 жыл бұрын
Good approach and explanation!
@prakashv51464 жыл бұрын
Gud explanation👍
@brianclements75332 жыл бұрын
Great tutorial, the hand-written math explanation is key. Lots of awful tutorials out there that are incomprehensible
@wrttech4222 жыл бұрын
Im glad you liked it, and that it helped!
@albost12 жыл бұрын
How would you do it if you want the detail of coins used to give change? For example to get something like this: Input: avaible_coins = (1, 2, 5), change = 11 Output: amount_of_coins: 3 detail_of_coins: 5,5,1 #5+5+1 = 11
@shenth272 жыл бұрын
You can try a slightly modifed version of combination sum algorithm with target = 11. But time complexity would be exponential..