2015年7月19日

[2015/7/17] #235, #236

摘要: #235 Lowest Common Ancestor of a Binary Search TreeGiven a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the B... 阅读全文
posted @ 2015-07-19 12:22 leetcode小分队 阅读(158) 评论(0) 推荐(0)
2015年7月16日

[2015/7/16] #237, #238

摘要: #237Delete Node in a Linked ListWrite a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed t... 阅读全文
posted @ 2015-07-16 14:13 leetcode小分队 阅读(128) 评论(0) 推荐(0)