Find Duplicate Files in a Filesystem

Given a filesystem root root, implement:

find_dups(root) -> list[list[str]]

Return all groups of regular files under root whose contents are byte-for-byte identical. Each returned ...

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: