Search
⌘K

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.

Early December, 2025

Staff

Comments

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