leecode整理
文章平均质量分 55
beijingbuaaer
这个作者很懒,什么都没留下…
展开
-
[LeetCode]--83. Remove Duplicates from Sorted List
[LeetCode]--83. Remove Duplicates from Sorted List原创 2016-08-15 13:18:37 · 172 阅读 · 0 评论 -
[LeetCode]--242. Valid Anagram(Count table && char array sort())
[LeetCode]--242. Valid Anagram(Count table && char array sort())原创 2016-08-20 21:44:30 · 563 阅读 · 0 评论 -
[LeetCode]--91. Decode Ways(Python + Java)
[LeetCode]--91. Decode Ways(Python + Java)原创 2016-08-09 12:24:26 · 679 阅读 · 0 评论 -
[LeetCode]--139. Word Break(Python)
[LeetCode]--139. Word Break(Python)Dynamic Programming原创 2016-08-08 18:11:48 · 893 阅读 · 0 评论 -
[LeetCode]--44. Wildcard Matching
[LeetCode]--44. Wildcard Matching, Dynamic Programming转载 2016-08-08 15:20:48 · 194 阅读 · 0 评论 -
[LeetCode]--47. Permutations II
[LeetCode]--47. Permutations II转载 2016-08-08 13:45:59 · 167 阅读 · 0 评论 -
[LeetCode]--301. Remove Invalid Parentheses
[LeetCode]--301. Remove Invalid Parentheses转载 2016-08-18 21:13:16 · 580 阅读 · 0 评论 -
[LeetCode]--47. Permutations II
[LeetCode]--47. Permutations II转载 2016-08-07 10:48:31 · 190 阅读 · 0 评论 -
[LeetCode]--375.Guess Number Higher or Lower II
[LeetCode]--375.Guess Number Higher or Lower II原创 2016-08-07 01:27:59 · 198 阅读 · 0 评论 -
[LeetCode]--221. Maximal Square
[LeetCode]--221. Maximal Square转载 2016-08-06 18:46:33 · 209 阅读 · 0 评论 -
[LeetCode][DS-AL]--297. Serialize and Deserialize Binary Tree(BFS & DFS)
[LeetCode][DS-AL]--297. Serialize and Deserialize Binary Tree(BFS & DFS)原创 2016-08-17 22:15:09 · 442 阅读 · 0 评论 -
[LeetCode]--295. Find Median from Data Stream(Max-Heap & Min-Heap)
[LeetCode]--295. Find Median from Data StreamMax-Heap & Min-HeapJava_PriorityQueue原创 2016-08-09 22:54:50 · 229 阅读 · 0 评论 -
[LeetCode]--7. Reverse Integer
[LeetCode]--7. Reverse Integer转载 2016-08-10 00:44:26 · 156 阅读 · 0 评论 -
[LeetCode]--342. Power of Four (Bit Manipulation)
[LeetCode]--342. Power of Four (Bit Manipulation)原创 2016-08-15 10:07:03 · 175 阅读 · 0 评论 -
[LeetCode]--218. The Skyline Problem
[LeetCode]--218. The Skyline Problem原创 2016-08-14 21:15:11 · 350 阅读 · 0 评论 -
[LeetCode]--299.Bulls and Cows
[LeetCode]--299.Bulls and Cows转载 2016-08-13 20:09:23 · 270 阅读 · 0 评论 -
[LeetCode]--164. Maximum Gap(Radix Sort && Bucket Sort)
[LeetCode]--164. Maximum Gap(Radix Sort && Bucket Sort)转载 2016-08-13 11:06:33 · 563 阅读 · 0 评论 -
[LeetCode]--39. Combination Sum
[LeetCode]--39. Combination SumBackTracking原创 2016-08-13 01:24:09 · 462 阅读 · 0 评论 -
[LeetCode]--25. Reverse Nodes in k-Group
[LeetCode]--25. Reverse Nodes in k-Group原创 2016-08-12 19:29:58 · 269 阅读 · 0 评论 -
[LeetCode]--327. Count of Range Sum && Merge_Sort && Fenwick Tree
[LeetCode]--327. Count of Range Sum && Merge_Sort && Fenwick Tree转载 2016-08-11 12:48:45 · 273 阅读 · 0 评论 -
[LeetCode]--196. Delete Duplicate Emails
[LeetCode]--196. Delete Duplicate EmailsSQL原创 2016-08-11 10:09:36 · 264 阅读 · 0 评论 -
[LeetCode]--131. Palindrome Partitioning(backTracking && DFS && DP)
[LeetCode]--131. Palindrome Partitioning(backTracking && DFS && DP)转载 2016-08-22 14:38:23 · 500 阅读 · 0 评论 -
[LeetCode]--300. Longest Increasing Subsequence
[LeetCode]--300. Longest Increasing SubsequenceDynamic Progamming原创 2016-08-10 13:20:09 · 188 阅读 · 0 评论 -
[LeetCode]--114. Flatten Binary Tree to Linked List
[LeetCode]--114. Flatten Binary Tree to Linked ListDFS原创 2016-08-03 11:50:42 · 210 阅读 · 0 评论 -
[LeetCode]--306. Additive Number
See the problem! See some excellent solutions! https://discuss.leetcode.com/topic/29845/python-solution https://discuss.leetcode.com/topic/29856/java-recursive-and-iterative-solutions转载 2016-08-06 01:34:59 · 214 阅读 · 0 评论 -
[LeetCode]--63. Unique Paths II
LeetCode, 63Unique Path II原创 2016-08-02 18:35:03 · 253 阅读 · 0 评论 -
LeetCode--66. Plus One
LeetCode--66. Plus One转载 2016-07-30 20:02:03 · 168 阅读 · 0 评论 -
LeetCode--373. Find Pairs with Smallest Sums
LeetCode--373. Find Pairs with Smallest Sums原创 2016-07-30 13:22:43 · 234 阅读 · 0 评论 -
137. Single Number II LeetCode
Use Mappublic class Solution { public int singleNumber(int[] nums) { Map map = new HashMap(); int len = nums.length; int ans = 0; for (int i = 0; i < len; i++转载 2016-07-16 12:08:23 · 172 阅读 · 0 评论 -
LeetCode--Binary Tree Traversal ( Inorder, Preorder, PostOrder)
To start with, i will give the LeetCode Link!94. Binary Tree Inorder Traversal144. Binary Tree Preorder Traversal145. Binary Tree Postorder Traversal I only solve them with the recursive method原创 2016-07-26 10:31:58 · 273 阅读 · 0 评论 -
LeetCode--303. Range Sum Query - Immutable
303. Range Sum Query - ImmutableTotal Accepted: 37464Total Submissions: 147649Difficulty: Easy Given an integer array nums, find the sum of the elements between in原创 2016-07-26 09:31:33 · 244 阅读 · 0 评论 -
LeetCode--11. Container With Most Water
Problem_Source原创 2016-07-25 14:57:01 · 141 阅读 · 0 评论 -
N-Queens
先来看一下算法思路N皇后问题的两个最高效的算法 看完算法思想和伪代码紧接着来关注真实代码。LeetCode--51. N-Queens转载 2016-07-25 00:50:28 · 230 阅读 · 0 评论 -
328. Odd Even Linked List
public class Solution { public ListNode oddEvenList(ListNode head) { if(head == null) return head; ListNode oddHead = head,evenHead =head.next; ListNode prevOdd转载 2016-07-24 20:40:56 · 199 阅读 · 0 评论 -
Leetcode--Maximum Product of Word Lengths
DescriptionGiven a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assume that each word will contain only lo转载 2016-07-13 19:54:00 · 179 阅读 · 0 评论 -
LeetCode--371. Sum of Two Integers
LeetCode--371. Sum of Two IntegersImplement arithmetic operator without +,-,*转载 2016-07-31 10:16:14 · 244 阅读 · 0 评论 -
[LeetCode]--363. Max Sum of Rectangle No Larger Than K
https://discuss.leetcode.com/topic/48854/java-binary-search-solution-time-complexity-min-m-n-2-max-m-n-log-max-m-nhttps://leetcode.com/problems/max-sum-of-sub-matrix-no-larger-than-k/https://discuss.le转载 2016-08-04 00:23:02 · 298 阅读 · 0 评论 -
[LeetCode]--239. Sliding Window Maximum(Deque)
[LeetCode]--239. Sliding Window Maximum(Deque)原创 2016-08-17 13:32:12 · 428 阅读 · 0 评论 -
[LeetCode]--143. Reorder List(Python + Java)
[LeetCode]--143. Reorder List(Python + Java)转载 2016-08-05 14:50:14 · 395 阅读 · 0 评论 -
[LeetCode]--41. First Missing Positive
https://leetcode.com/problems/first-missing-positive/ https://discuss.leetcode.com/topic/2633/share-my-o-n-time-o-1-space-solution转载 2016-08-02 01:18:54 · 211 阅读 · 0 评论