A fun way to practice or learn a language is to solve puzzles that are available on the Internet. One of those problems is the Ugly Numbers problem. It is special in that it, like many other problems, has multiple solutions with varying levels of efficiency.
The Ugly Number problem is: find the nth ugly number. Continue reading “AlGOrithm Adventure 1 – Ugly Numbers Algorithm and Dynamic Programming”