← Intuit questions

Total Directory Size Calculation

Filed under Intuit

Represent a file system as a tree where nodes are directories or files. Given the sizes of files, calculate the total size of every directory, where a directory's size is the sum of all its files and…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Intuit questions

Collected from public candidate posts and coding forums. Updated Nov 2026.