264. Ugly Number II - Explanation

Problem Link