代码改变世界

阅读排行榜

[LeetCode] 221. Maximal Square _ Medium Tag: Dynamic Programming

2018-07-17 06:44 by Johnson_强生仔仔, 267 阅读, 收藏,
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: 3.2) skip left and up, jus 阅读全文

[Leetcode] 336. Palindrome Pairs_Hard

2018-06-21 06:13 by Johnson_强生仔仔, 266 阅读, 收藏,
摘要: Given a list of unique words, find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, i.e. words[i] + 阅读全文

[LeetCode] 45. Jump Game II_ Hard tag: Dynamic Programming, Greedy

2019-04-24 10:41 by Johnson_强生仔仔, 265 阅读, 收藏,
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文

[LeetCode] 52. N-QueensII_Hard tag: DFS, backtracking

2019-05-24 10:40 by Johnson_强生仔仔, 264 阅读, 收藏,
摘要: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all 阅读全文

[LeetCode] 系统刷题2_Binary search

2019-04-16 10:27 by Johnson_强生仔仔, 264 阅读, 收藏,
摘要: 可以参考 [LeetCode] questions conclusion_ Binary Search 阅读全文
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 78 下一页