DEV Community

Discussion on: A Free Ebook on Greedy Algorithms, Divide & Conquer, and Dynamic Programming

andreasvirkus profile image
ajv • Edited on

What an article! Packed with knowledge!

Small note - in the second example (vending machine's denomination) it returns 20p even though it was asked to return 30p πŸ™Š

brandonskerritt profile image
Brandon Author

Howdy! Let me check to see if that's true in the book as well as this article. I'll add you to the acknowledgments section too (in fact, I'll make it just for you. All bug reports / fixes go straight into the acknowledgements πŸ˜‰ )
github issue: