← Questions

Repository Merkle tree hashing and change detection

0
CursorCodingLast asked Sep 2026

A coding interview question asked in Cursor's technical screens round, last asked Sep 2026. It tests merkle tree, hashing and filesystems.

A code editor keeps a search index of a user's repository in sync with a server. Re-uploading everything after each change is too slow, so it hashes the repository as a Merkle tree: each file's hash comes from its content, and each…

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

  • Cursor · Technical screens · Last asked Sep 202660 min · One to three live coding rounds · No AI other than autocomplete; Cursor's CEO calls coding without AI a time-boxed test of skill

What it tests

merkle tree · hashing · filesystems

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