Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Cursor
Continue with targeted prep from Cursor's coding question bank.
Interview Summary
The Cursor technical screen was a 45-minute coding and systems-oriented exercise centered on building a HashTree for a filesystem. The first part required representing files and directories through recursively computed hashes, while the follow-up asked how that structure could be used to reduce unnecessary data transfer when synchronizing updates between a client and server.
Google and AI tools were allowed for looking up syntax, but AI-generated implementation was not permitted.
Interview Details
Coding — Build a Filesystem HashTree The first task was to implement a HashTree data structure representing a filesystem containing files and directories. The interviewer provided the expected hashing rules. For a text file, its hash should be derived from the file’s contents using the supplied hashing behavior.
For a directory, its hash should
Unlock Full Details
Create a free account to unlock this interview experience report.