Voleon logoVoleon
CodingMembers

Sparse Merkle Tree

Members only

A phone-screen coding question on Merkle trees, the hash trees used to verify data in blockchains and distributed systems. You build a version that can describe a very large tree without materializing it, keeping updates fast and the root hash current. Expect a follow-up on proving that a leaf holds a given value.

SWE
medium
tree
hashmap
hashing
data-structure
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 5 common pitfalls
  • 5 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...