Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 339. Nested List Weight Sum
Given a nested list of integers and sublists, compute the total sum where each integer is multiplied by its depth in the nesting. The challenge is to traverse the arbitrarily nested structure and accumulate value*depth for each integer (track depth via recursion or an explicit stack/queue).
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early October, 2025
Meta
Staff
Expected me to talk about validating the input - is the input an array of nested list of integers.
Mid September, 2025
Meta
Mid-level
Late August, 2025
Meta
Senior
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.