Longest Absolute File Path Leetcode Python