2015年3月9日

LeetCode-11 Container With Most Water

摘要: Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ... 阅读全文

posted @ 2015-03-09 21:15 linxiong1991 阅读(106) 评论(0) 推荐(0)

LeetCode-108 Convert Sorted Array to Binary Search Tree

摘要: Given an array where elements are sorted in ascending order, convert it to a height balanced BST.知识点:二叉搜素树: 1. 如果root有左子节点,则所有左边的节点root; 3. root.lef... 阅读全文

posted @ 2015-03-09 20:08 linxiong1991 阅读(94) 评论(0) 推荐(0)

导航