Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Asset Tree Size
Medium
You are given a list of asset nodes representing a tree structure and a target path. Each node has a name, an optional size (present only for leaf assets), and an optional list of children (present for directory nodes). Find the node with the given path name and return the total size of all leaf assets under it (including itself if it is a leaf).
Each node is an object with: ...
Asked at:Datadog
More Datadog interview questions
- Sensor Reading Interpolatoreasy
- Event Window Aggregatormedium
- Maximum Vacation Days With Minimum Flightsmedium
- Label Co-occurrence Findereasy
- Denomination Breakdownmedium
- Response Time Histogrameasy
- Storage Cleanermedium
- Stream Pattern Matchermedium
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.