Available question text
Given a parsed JSON value that is either an object or an array, determine whether it is empty (an object with no own keys or an array with zero elements). Aim to perform this emptiness check in O(1) time rather than iterating through the contents.
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 2727. Is Object Empty
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source