File System Traversal with Cycle Detection Using Backtracking and Memoization | Hello Interview