排序:
默认
按更新时间
按访问量

study plan -- to do list

git学习: –done https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/ springMVC + Mybatis(项目) HeadFirstJava看完 Syste...

2018-03-25 11:05:45

阅读数:15

评论数:0

LeetCode 113. Path Sum II(java)

Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum.For example: Given the below binary tree and su...

2018-03-07 09:45:53

阅读数:15

评论数:0

LeetCode 112. Path Sum(java)

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.F...

2018-03-07 09:41:29

阅读数:15

评论数:0

LeetCode 169. Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the...

2018-03-07 09:40:05

阅读数:11

评论数:0

LeetCode 11. Container With Most Water(java)

Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoi...

2018-02-26 05:01:40

阅读数:19

评论数:0

LeetCode 191. Number of 1 Bits(java)

Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit ...

2018-02-26 03:47:30

阅读数:16

评论数:0

LeetCode 83. Remove Duplicates from Sorted List(java)

You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1...

2018-02-26 02:16:37

阅读数:23

评论数:0

LeetCode 658. Find K Closest Elements(java)

Given a sorted array, two integers k and x, find the k closest elements to x in the array. The result should also be sorted in ascending order. If th...

2018-02-25 17:31:31

阅读数:62

评论数:0

LeetCode 134. Gas Station(java)

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 cost...

2018-02-25 17:08:04

阅读数:33

评论数:0

LeetCode 560. Subarray Sum Equals K(java)

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn’t one, return 0 instead.Note: The sum o...

2018-02-25 08:59:20

阅读数:19

评论数:0

LeetCode 325. Maximum Size Subarray Sum Equals k(java)

Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn’t one, return 0 instead.Note: The sum o...

2018-02-25 08:26:15

阅读数:15

评论数:0

LeetCode 713. Subarray Product Less Than K(java)

Your are given an array of positive integers nums.Count and print the number of (contiguous) subarrays where the product of all the elements in the s...

2018-02-25 08:14:08

阅读数:19

评论数:0

LeetCode 152. Maximum Product Subarray(java)

Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array [2,3,-2,4], ...

2018-02-25 07:30:20

阅读数:13

评论数:0

LeetCode 340. Longest Substring with At Most K Distinct Characters(java)

Given a string, find the length of the longest substring T that contains at most k distinct characters.For example, Given s = “eceba” and k = 2,T is ...

2018-02-12 11:49:48

阅读数:37

评论数:0

LeetCode 159. Longest Substring with At Most Two Distinct Characters(java)

Given a string, find the length of the longest substring T that contains at most 2 distinct characters.For example, Given s = “eceba”,T is "ece&...

2018-02-12 11:45:26

阅读数:38

评论数:0

LeetCode 76. Minimum Window Substring(java)

Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example, S = "AD...

2018-02-12 11:41:53

阅读数:14

评论数:0

LeetCode 53. Maximum Subarray

Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,...

2018-02-12 09:17:36

阅读数:22

评论数:0

LeetCode 3. Longest Substring Without Repeating Characters(java)

Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc&qu...

2018-02-12 02:08:43

阅读数:25

评论数:0

LeetCode 562. Longest Line of Consecutive One in Matrix(java)

Given a 01 matrix M, find the longest line of consecutive one in the matrix. The line could be horizontal, vertical, diagonal or anti-diagonal.Exampl...

2018-02-11 15:58:57

阅读数:44

评论数:0

LeetCode 674. Longest Continuous Increasing Subsequence(java)

Given an unsorted array of integers, find the length of longest continuous increasing subsequence (subarray).Example 1: Input: [1,3,5,4,7] Output: 3 ...

2018-02-11 15:56:35

阅读数:23

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭