Symmetric Tree
摘要:
1 /** 2 * Definition for binary tree 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x), left(NULL), right(NULL) {} 8 * }; 9 */10 class Solution {11 public:12 bool isSymmetricSame(TreeNode *p,TreeNode *q)13 {14 ... 阅读全文
posted @ 2014-03-07 11:04 crane_practice 阅读(106) 评论(0) 推荐(0) 编辑