Print All Paths Leetcode Javascript Solutions To Linear