Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Balanced Drainage Split
Medium
Question
You are given a water drainage network shaped as a rooted tree with n nodes labeled from 0 to n - 1. Water flows from each node upward toward the root at node 0, then exits the system.
...
Asked at:Two Sigma
More Two Sigma interview questions
- Non-Adjacent Team Selectionhard
- Concert Ticket Auctionhard
- Pythagorean Node Findermedium
- Piecewise Linear Interpolationmedium
- Pipeline Throughput Optimizerhard
- Binary Step Reductionmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.