Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2823. Deep Object Filter
Recursively traverse a nested object/array structure and apply a predicate to decide which values or entries to keep, returning a new object with keys removed when their values (or all descendant values) fail the predicate. Handle arbitrary depth, arrays and objects, and avoid mutating the original while pruning empty containers.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.