摘要:
class Solution {public: ListNode* FindFirstCommonNode( ListNode* pHead1,ListNode* pHead2) { ListNode* p1=pHead1; ListNode* p2=pHead2; while(p1!=p2) { 阅读全文
摘要:
/* struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) { } }; */ class Solution { public: T... 阅读全文