Search
⌘K

Leetcode 2628. JSON Deep Equal

Given two JSON values, determine if they are deeply equal by recursively checking that primitives match, arrays have equal elements in the same order, and objects contain the same keys with deeply equal values regardless of key order. Types must match at each node and the comparison should handle arbitrarily nested structures.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.