Array Based Leetcode Problems Javascript Interviewbit