Print In Order Leetcode Problems Javascript Code