Grokking the Anthropic Forward Deployed Engineer Interview
0% completed
Exercise: Finding Duplicate Files
"You get a dictionary of file paths to file contents. Find the files that are exact copies of each other. Then we will make it faster."
This exercise is this course's own illustration, not a task the prep guides report. It is included because each stage asks for less work, not more features. That kind of stage tests whether stage 1 code is easy to restructure.
Files live in memory as a dictionary of path to bytes, so the program never touches a disk. On a real disk, reading a file is the slow step, and every stage after the first reduces how much is read.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%