</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

14

:

03

:

46

:

46

Get this deal
Back to Dashboard

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: ...

OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCode
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.