Difference Between Two Objects Leetcode