摘要: 对于这种有返回的 dfs() 的遍历方式还是不熟。class Solution { public: TreeNode* mergeTrees(TreeNode* t1, TreeNode* t2) { if (!t1 && !t2) { return NULL; } if (t1 && !t2) { ... 阅读全文
posted @ 2018-08-31 14:52 不明真相 阅读(64) 评论(0) 推荐(0)
摘要: 对于字符串 "abcdefg". 阅读全文
posted @ 2018-08-13 02:05 不明真相 阅读(80) 评论(0) 推荐(0)