Search
⌘K

Leetcode 2700. Differences Between Two Objects

Given two potentially nested objects, produce a structured diff that lists paths where keys/values were added, removed, or changed. The challenge is to traverse both structures (including nested objects/arrays), detect type/value differences, and report the minimal set of operations per path.


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.