上一页 1 2 3 4 5 6 7 8 9 ··· 31 下一页
该文被密码保护。 阅读全文
posted @ 2017-06-10 07:19 panini 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 题目: There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it 阅读全文
posted @ 2017-06-09 06:56 panini 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrou 阅读全文
posted @ 2017-06-09 05:52 panini 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3  阅读全文
posted @ 2017-06-09 05:39 panini 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWo 阅读全文
posted @ 2017-06-08 20:03 panini 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given th 阅读全文
posted @ 2017-06-08 10:55 panini 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 链接: http://leetcode.com/problems/con 阅读全文
posted @ 2017-06-08 04:09 panini 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目: Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. 链接: http 阅读全文
posted @ 2017-06-07 20:14 panini 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 题目: Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. 链接: http: 阅读全文
posted @ 2017-06-07 19:56 panini 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level 阅读全文
posted @ 2017-06-06 05:37 panini 阅读(145) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 31 下一页