Find Duplicate File in System at Anthropic

Medium67.6% acceptance

This problem has 75.0% frequency at Anthropic.

Problem Description

Given a list `paths` of directory info, including the directory path, and all the files with contents in this directory, return _all the duplicate files in the file system in terms of their paths_. You may return the answer in **any order**. A group of duplicate files consists of at least two files...

Read full problem and hints

Topics

Also asked at 7 companies


More Anthropic Questions

View all Anthropic questions