Calculate Total Size of Files in FileEntry Hierarchy
Easydatadog
Implement a method to calculate the total size of all files under a given FileEntry object. You need to implement a method named calculate_total_size which accepts a parameter of type FileEntry an...
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:
