上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: https://leetcode.com/problems/count-of-smaller-numbers-after-self/You are given an integer array nums and you have to return a new counts array. The c... 阅读全文
posted @ 2016-01-19 03:33 流白 阅读(208) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sum-root-to-leaf-numbers/Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a n... 阅读全文
posted @ 2016-01-11 21:25 流白 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representatio... 阅读全文
posted @ 2016-01-11 20:37 流白 阅读(319) 评论(0) 推荐(0) 编辑
摘要: package abc.com;import java.util.LinkedList;public class TestLinkedList { static void prt(Object o) { System.out.print(o); } publi... 阅读全文
posted @ 2016-01-06 21:27 流白 阅读(222) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/gas-station/题目:There are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have ... 阅读全文
posted @ 2016-01-05 17:56 流白 阅读(258) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/coin-change/You are given coins of different denominations and a total amount of money amount. Write a function to compu... 阅读全文
posted @ 2016-01-04 16:49 流白 阅读(506) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/binary-tree-maximum-path-sum/Given a binary tree, find the maximum path sum.For this problem, a path is defined as any s... 阅读全文
posted @ 2016-01-04 12:46 流白 阅读(182) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/search-for-a-range/Given a sorted array of integers, find the starting and ending position of a given target value.Your ... 阅读全文
posted @ 2016-01-03 19:34 流白 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in... 阅读全文
posted @ 2016-01-03 16:06 流白 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/edit-distance/Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each oper... 阅读全文
posted @ 2015-12-06 18:19 流白 阅读(137) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页