Ezvor

2700. Differences Between Two Objects

Medium Preparing judge… LeetCode

Hints

Hint 1
Find the intersection of the keys/indices on the two arrays/objects.
Hint 2
Analyze the data structure recursively.
Hint 3
For each key in the intersection, omit if there are no differences in the leaves. Otherwise return the difference.