Available question text
Given a nested JavaScript-like data structure of objects and arrays that may contain undefined values, transform it so every undefined is replaced with null while preserving the original structure and other values. This requires a recursive traversal (distinguishing arrays vs objects) and careful handling to avoid modifying unintended references or mishandling nested collections.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2775. Undefined to Null
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source