#100. Same Tree

ยท

1 min read

https://leetcode.com/problems/same-tree/description/?envType=daily-question&envId=2024-02-27


var isSameTree = function(p, q) {
   return JSON.stringify(q) === JSON.stringify(p)
};
ย