最新 最热

Leetcode 题目解析之 Rectangle Area

Find the total area covered by two rectilinear rectangles in a 2D plane.

2022-01-20
1

Leetcode 题目解析之 Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array.

2022-01-08
1

(hdu step 6.3.5)Card Game Cheater(匹配的最大数:a与b打牌,问b赢a多少次)

1、这道题中的匹配规则已经不是“a愿不愿意与b匹配”了。而是,仅仅有在b>a的时候才干匹配

2022-01-04
1

LeetCode笔记:223. Rectangle Area

image.pngAssume that the total area is never beyond the maximum possible value of int.

2021-11-23
2

LeetCode笔记:198. House Robber

面对这么一道题,感觉没什么思路,总觉得可能性太多了,不知道怎么去快速地判断计算,看了看Discuss的讨论,看到一个方法,想一想也有点道理,但又总觉得不确定是不是完全正确,试了试测试时通过了的,还是记录下来吧。...

2021-11-23
1

LeetCode 0198 - House Robber

You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from rob...

2021-08-11
1

LeetCode 0135 - Candy

There are N children standing in a line. Each child is assigned a rating value.

2021-08-11
4

LeetCode 0223 - Rectangle Area

Find the total area covered by two rectilinear rectangles in a 2D plane.

2021-08-11
2

LeetCode 0212 - Word Search II

Given a 2D board and a list of words from the dictionary, find all words in the board.

2021-08-11
1

LeetCode 0213 - House Robber II

You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are arranged in ...

2021-08-11
1