Queue Implementation Using Array Leetcode Problems Two