本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- xiangjie88
- zysnba
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- gengyun12
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sam123456gz
- sichunli_030
- arpenker
- tanling8334
- gaojingsong
- kaizi1992
- xpenxpen
- 龙儿筝
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- mengjichen
- jbosscn
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- mwhgJava
- kingwell.leng
最新文章列表
LeetCode-63-Unique Paths II
Unique Paths II
来自 <https://leetcode.com/problems/unique-paths-ii/>
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many uniqu ...
LeetCode-48-Rotate Image
Rotate Image
来自 <https://leetcode.com/problems/rotate-image/>
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could yo ...
LeetCode-74-Search a 2D Matrix
Search a 2D Matrix
来自 <https://leetcode.com/problems/search-a-2d-matrix/>
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following propertie ...
【总结】关于List的一些容易出错的地方
1.关于list.isEmpty
只要有list.add操作。即使是list.add("") (1次或若干次),list.isEmpty也是返回false; 如果你仅仅是声明一个List,而没有add操作,则li ...
LeetCode-34-Search for a Range
Search for a Range
来自 <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 algorithm' ...
LeetCode-73-Set Matrix Zeroes
Matrix Zeroes
来自 <https://leetcode.com/problems/set-matrix-zeroes/>
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up. ...
LeetCode-62-Unique Paths*(动态规划)
Unique Paths
来自 <https://leetcode.com/problems/unique-paths/>
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move ...
LeetCode-79-Word Search*
Word Search
来自 <https://leetcode.com/problems/word-search/>
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of s ...
LeetCode-209-Minimum Size Subarray Sum
Minimum Size Subarray Sum
来自 <https://leetcode.com/problems/minimum-size-subarray-sum/>
Given an array of n positive integers and a positive integer s, find the minimal length of a subarr ...
Leetcode-217-Contains Duplicate
Contains Duplicate
来自 <https://leetcode.com/problems/contains-duplicate/>
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value ...
Leetcode-219-Contains Duplicate II
Contains Duplicate II
来自 <https://leetcode.com/problems/contains-duplicate-ii/>
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the ...
Leetcode-228-Summary Ranges
Summary Ranges
来自 <https://leetcode.com/problems/summary-ranges/>
Given a sorted integer array without duplicates, return the summary of its ranges.
For example, given [0,1,2,4,5,7], ret ...
Leetcode-169-Majority Element
Majority Element
来自 <https://leetcode.com/problems/majority-element/>
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ ...
Leetcode-119-Pascal's Triangle II
Pascal's Triangle II
来自 <https://leetcode.com/problems/pascals-triangle-ii/>
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1]. ...
Leetcode-118-Pascal's Triangle
Pascal's Triangle
来自 <https://leetcode.com/problems/pascals-triangle/>
Given numRows, generate the first numRows of Pascal's triangle.
For example, given numRows = 5,
Return
[ [1], ...