Mobile Numeric Keypad Leetcode Javascript Questions