Search
⌘K

Design a File Search and Directory Traversal System

Design and implement a file search system that can traverse directory structures and locate files based on various criteria. The solution should incorporate object-oriented programming principles, support extensible filtering mechanisms, and be optimized for performance. Consider implementing algorithms like DFS or BFS for traversal, and discuss scalability considerations for adding new search filters and optimizations such as byte-level operations.

Asked at:

Meta

Amazon

Amazon

Atlassian

Google

Google


Question Timeline

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

Early January, 2026

Meta

Staff

Mid December, 2025

Atlassian

Staff

Early September, 2025

Amazon

Amazon

Junior

Comments

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