File Deduplication

File Deduplication

Given n file records, find files whose contents are exactly identical and return their paths grouped by identical content.

  • Compare files by their raw byte sequences.
  • ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: