Calculate Total Size of Files in Nested Directories
Easydatadog
Calculate Total Size of Folder
Given a directory file structure, calculate the total size of all files. The directory may contain subdirectories. You should calculate recursively.
**Input Format...
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:
