We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
@MinhThai2, I've used your pattern in my python code and passed all tests, thanks a lot! P.S. there is a more effective solution below in comment by rwan7727.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Coin Change Problem
You are viewing a single comment's thread. Return to all comments →
@MinhThai2, I've used your pattern in my python code and passed all tests, thanks a lot! P.S. there is a more effective solution below in comment by rwan7727.