Search
⌘K
Get Premium
Leetcode 609. Find Duplicate File in System
Parse each directory string to extract full file paths and their contents, then group paths by identical file content and return all groups containing at least two paths. The core challenge is efficient string parsing and grouping (e.g., via a hash map) to detect duplicate files by content.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early December, 2025
Staff
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.