Mobile Numeric Keypad Problem Leetcode Solutions Java