B+ Tree

Asked atZomato
1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
0
Stuck? Show a way to structure it+
  1. 01Clarify whether B-tree or B-plus tree semantics are required.
  2. 02State node key and child-count invariants.
  3. 03Explain search by choosing a child interval.
  4. 04Describe split propagation on insertion.
  5. 05Connect leaf links to range scans and disk pages.

Reference answer

Then expect these follow-ups

  • Why do databases favor B-plus trees over binary search trees?

    Tests: correctness reasoning

  • What invariant must hold after a merge?

    Tests: constraint adaptation

Hiring now

Zomato is hiring right now

landed applies to roles like these for you, on each company’s own site, with answers written for the role.

Get 5x interviews10 free auto-applies. No card.
  • Software Engineer – Back End

    Gurugram, HR, India

Or practice this question first

Next question