Amazon interview question
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-04-13Added By Anonymous
Source: Link
how to solve this question?
got it in aws interview loop
Implement UNIX find command as an API. The API will support findings
Files that have a given size requirement.
Files with a certain naming pattern.
Focus on 2 uses cases at first!
Find all files over 5 MB somewhere under a directory.
Find all XML files somewhere under a directory.
I solved it with Trie , any other ideas?