Problem 264 · Medium
Ugly Number II
Find nth ugly number.
DP
Heap
Open the interactive visualisation