Number Complement Leetcode Javascript Problems Solving With Fraction