Build and Diff an N-ary Merkle Tree for a File System

Problem: Build and Diff an N-ary Merkle Tree for a File System

Implement an N-ary Merkle tree representing a file system. Leaves are files and internal nodes are directories; each directory ma...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: