InterviewDB Question

Tree Backend: Design a REST API for Managing a Hierarchical Tree Structure

Backend phone

Question Details

Problem Design a backend API for managing hierarchical data (e.g., org charts, category trees). Each node has an id, name, parent_id, and optional metadata. Implement these endpoints: Example Follow-ups What database representation (adjacency list, n…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone