← Questions
Repository Merkle tree hashing and change detection
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Hash a code repository into a Merkle tree over files and directories so changed paths are found by comparing hashes top-down instead of rescanning everything. Reported on 1point3acres' Cursor bank; reconstructed in our own words.
Sign in to see the worked answer
The full answer, chapter by chapter, with what interviewers expect at each level. Free with an account: one full answer per company.
Sign in to see the worked answer
The full answer, chapter by chapter, with what interviewers expect at each level. Free with an account: one full answer per company.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
