LeetCode

Nth Magical Number

Click here for an explanation.