Nth Magical Number Leetcode Javascript Practice Github