← Questions

In-memory file system with shell commands: cd, mkdir, ls, cp, mv

0
HarveyCodingLast asked Nov 2026

A coding interview question asked in Harvey's coding round, last asked Nov 2026. It tests file system, tree and concurrency.

Write a file system that lives in memory and is driven the way a terminal is: by commands that take path strings. The task is given in about that many words, so deciding which commands to support, and how each behaves, is part of the work.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Harvey · Coding · Last asked Nov 202660 min · Live practical coding · Candidates report freedom to use the tools and languages they know; confirm with your recruiter

What it tests

file system · tree · concurrency · low-level design

Your code and the AI tutor open when you unlock this question.