Longest Absolute File Path - LeetCode

Can you solve this real interview question? Longest Absolute File Path - Suppose we have a file system that stores both files and directories. An example of one system is represented in the following picture: [https://assets.leetcode.com/uploads/2020/08/28/mdir.jpg] Here, we have dir as the only …