摘要:
题目:Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next poi... 阅读全文
posted @ 2015-11-10 15:25
已停更
阅读(190)
评论(0)
推荐(0)
摘要:
题目:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?解析: 1 class Solution { 2 public: 3 ... 阅读全文
posted @ 2015-11-10 11:24
已停更
阅读(155)
评论(0)
推荐(0)
摘要:
题目:Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array.For example,Givennums=[0, 1, 3]re... 阅读全文
posted @ 2015-11-10 10:47
已停更
阅读(162)
评论(0)
推荐(0)
浙公网安备 33010602011771号