上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 标题:Construct Binary Tree from Inorder and Postorder Traversal通过率:26.7%难度:中等Given inorder and postorder traversal of a tree, construct the binary tree.... 阅读全文
posted @ 2015-04-02 15:51 pku_smile 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 标题:Triangle通过率:27.1%难度:中等Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.F... 阅读全文
posted @ 2015-03-30 19:31 pku_smile 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 标题:Jump Game II通过率:24.5难度:难Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the a... 阅读全文
posted @ 2015-03-29 16:31 pku_smile 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 标题:Jump Game通过率:27.3%难度:中等Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the ar... 阅读全文
posted @ 2015-03-29 16:23 pku_smile 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 标题:Partition List通过率:27.5%难度:中等Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal to... 阅读全文
posted @ 2015-03-29 16:16 pku_smile 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 标题:Two Sum通过率:17.9%难度:中等Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should retu... 阅读全文
posted @ 2015-03-28 20:55 pku_smile 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 标题:Convert Sorted List to Binary Search Tree通过率:27.8%难度:中等Given a singly linked list where elements are sorted in ascending order, convert it to a hei... 阅读全文
posted @ 2015-03-27 11:45 pku_smile 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 标题:Search for a Range通过率:27.7%难度:中等Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's ru... 阅读全文
posted @ 2015-03-25 21:16 pku_smile 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 标题:Binary Search Tree Iterator通过率:28.9%难度:中等Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root nod... 阅读全文
posted @ 2015-03-24 20:58 pku_smile 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 标题:Convert Sorted Array to Binary Search Tree通过率:33.8%难度:中等Given an array where elements are sorted in ascending order, convert it to a height balance... 阅读全文
posted @ 2015-03-24 20:54 pku_smile 阅读(159) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页