https://oj.leetcode.com/problems/same-tree/
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
'풀어본 Algorithm 문제 정리' 카테고리의 다른 글
[OJ.leetcode] minimum-path-sum (0) | 2014.07.19 |
---|---|
[OJ.leetcode] reverse-nodes-in-k-group (0) | 2014.07.17 |
[OJ.leetcode] remove-nth-node-from-end-of-list (0) | 2014.07.15 |
[OJ.leetcode] largest-rectangle-in-histogram (0) | 2014.07.14 |
[OJ.leetcode] rotate-list (1) | 2014.07.10 |