摘要: Linked List Cycle Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? # Definition for singl 阅读全文
posted @ 2014-11-18 17:32 ScottGu 阅读(402) 评论(0) 推荐(0) 编辑
摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST' 阅读全文
posted @ 2014-11-18 13:37 ScottGu 阅读(300) 评论(0) 推荐(0) 编辑