Search
⌘K

File System Size Analysis and Reporting

Implement functionality to analyze and report file system sizes. This includes calculating sizes of individual entities (files/folders), finding the largest files in a directory, and determining the largest folders based on their immediate file contents. The solution should handle large directory structures efficiently.

Asked at:

Google

Google


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid October, 2024

Google

Google

Junior

Return the 10 largest folders based on the sum of immediate files inside each folder

Mid October, 2024

Google

Google

Junior

Return the list of 10 largest files inside a given URI folder using provided helper functions

Early October, 2024

Google

Google

Intern

Write a function that given the file system and entity id can return the size of that entity

Comments

Your account is free and you can post anonymously if you choose.