Dynamic Programming

Ugly Numbers - GeeksforGeeks