Sponsored
Use these hints if you're stuck. Try solving on your own first.
Can we use a trie to build the folder structure?
Can we utilize hashing to hash the folder structures?
Solve with full IDE support and test cases