Di String Match Leetcode Javascript Interview