My solution was very close to yours.
I wrote some spaghetti, but learned a lot!
dang, this doesn't look idiomatically Haskell and I'm not sure why
JS version worked fine for me. Were you returning a string?
That is such a pretty solution!
It's important to have common sense. Obviously, you can't give $25 as change if you have many $50 bills and no $25 bills.
This comment is hidden because it contains spoiler information about the solution
looking at other solutions, I am now fully aware of the existence of zip()
Loading collection data...
My solution was very close to yours.
I wrote some spaghetti, but learned a lot!
dang, this doesn't look idiomatically Haskell and I'm not sure why
JS version worked fine for me. Were you returning a string?
That is such a pretty solution!
It's important to have common sense. Obviously, you can't give $25 as change if you have many $50 bills and no $25 bills.
This comment is hidden because it contains spoiler information about the solution
looking at other solutions, I am now fully aware of the existence of zip()
This comment is hidden because it contains spoiler information about the solution