Typed Out String Leetcode Problems Javascript Function Examples