- 博客(13)
- 收藏
- 关注
原创 leetcode :315. Count of Smaller Numbers After Self :归并排序应用
315. Count of Smaller Numbers After SelfMy SubmissionsQuestionEditorial SolutionTotal Accepted: 7919 Total Submissions: 26711 Difficulty: HardYou are given an integer array n
2016-03-29 21:11:26 1315
原创 leetcode :316 Remove Duplicate Letters : 贪心+递归搜索
316. Remove Duplicate LettersMy SubmissionsQuestionEditorial SolutionTotal Accepted: 11048 Total Submissions: 44956 Difficulty: HardGiven a string which contains only lowerca
2016-03-28 23:20:28 1858
原创 leetcode : 321. Create Maximum Number : 有点难度的贪心法
321. Create Maximum NumberMy SubmissionsQuestionTotal Accepted: 4587 Total Submissions: 22666 Difficulty: HardGiven two arrays of length m and n with digits 0-9 representing
2016-03-28 01:57:58 774
原创 leetcode : 327. Count of Range Sum : 连续和在指定区间内
327. Count of Range SumMy SubmissionsQuestionTotal Accepted: 3832 Total Submissions: 15268 Difficulty: HardGiven an integer array nums, return the number of range sums that l
2016-03-22 20:43:24 1293
原创 leetcode : 336. Palindrome Pairs : 拼接回文的个数
336. Palindrome PairsMy SubmissionsQuestionTotal Accepted: 1666 Total Submissions: 9046 Difficulty: HardGiven a list of unique words. Find all pairs of distinct indices (i, j
2016-03-22 20:30:06 1158
原创 leetcode : 337. House Robber III : 简单的树形DP
337. House Robber IIIMy SubmissionsQuestionTotal Accepted: 3244 Total Submissions: 8627 Difficulty: MediumThe thief has found himself a new place for his thievery again. There
2016-03-21 00:32:06 658
原创 leetcode 338 : Counting Bits :找规律&位运算
338. Counting BitsMy SubmissionsQuestionTotal Accepted: 3211 Total Submissions: 5600 Difficulty: MediumGiven a non negative integer number num. For every numbers i in the range
2016-03-20 23:12:55 363
原创 leetcode 329 : Longest Increasing Path in a Matrix : dfs+dp
329. Longest Increasing Path in a MatrixMy SubmissionsQuestionTotal Accepted: 9010 Total Submissions: 29883 Difficulty: HardGiven an integer matrix, find the length of the long
2016-03-12 00:23:34 317
原创 leetcode 330 : Patching Array :贪心法
330. Patching ArrayMy SubmissionsQuestionTotal Accepted: 5244 Total Submissions: 18390 Difficulty: MediumGiven a sorted positive integer array nums and an integer n, add/patch
2016-03-11 20:47:12 912
原创 leetcode 331 :Verify Preorder Serialization of a Binary Tree:简单题
331. Verify Preorder Serialization of a Binary TreeMy SubmissionsQuestionTotal Accepted: 6543 Total Submissions: 20906 Difficulty: MediumOne way to serialize a binary tree is t
2016-03-09 17:26:05 866
原创 leetcode 332: Reconstruct Itinerary:最小欧拉路径 & java8新特性
332. Reconstruct ItineraryMy SubmissionsQuestionTotal Accepted: 4958 Total Submissions: 21506 Difficulty: MediumGiven a list of airline tickets represented by pairs of departur
2016-03-09 01:08:18 1659
原创 leetcode 334 : Increasing Triplet Subsequence : 被智商压制
334. Increasing Triplet SubsequenceMy SubmissionsQuestionTotal Accepted: 5851 Total Submissions: 17931 Difficulty: MediumGiven an unsorted array return whether an increasing su
2016-03-04 23:55:03 586
原创 leetcode 335 : Self Crossing : 正反情况思考
335. Self CrossingMy SubmissionsQuestionTotal Accepted: 1941 Total Submissions: 11380 Difficulty: MediumYou are given an array x of n positive numbers. You start at point (0,
2016-03-04 22:01:11 1319
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人