摘要: class Solution { public ListNode reverse(ListNode a,ListNode b){ a.next = b.next; b.next = null; b.next = a; return b; } public ListNode swapPairs(Lis 阅读全文
posted @ 2020-10-09 10:07 dlooooo 阅读(104) 评论(0) 推荐(0) 编辑
摘要: class Solution { public TreeNode Build(int[]nums,int left,int right){ if(left>right){ return null; } int mid = (left+right)>>1; TreeNode t = new TreeN 阅读全文
posted @ 2020-10-09 09:55 dlooooo 阅读(102) 评论(0) 推荐(0) 编辑