Detect duplicate files efficiently | Anthropic Interview Question