Ma Leetcode Solution Javascript Interviewbit