Keyboard Row Leetcode Problems Javascript Code