加载中...
分类详情
困难 分类
679-24 点游戏(24 Game)
原文链接: https://leetcode-cn.com/problems/24-game 英文原文You are given an integer array cards of length 4. You have four cards, each containing a number in the range [1, 9]. You should arrange the numbers on these cards in a mathematical expression using t…
2021-12-03
726-原子的数量(Number of Atoms)
原文链接: https://leetcode-cn.com/problems/number-of-atoms 英文原文Given a string formula representing a chemical formula, return the count of each atom. The atomic element always starts with an uppercase character, then zero or more lowercase letters, repre…
2021-12-03
741-摘樱桃(Cherry Pickup)
原文链接: https://leetcode-cn.com/problems/cherry-pickup 英文原文You are given an n x n grid representing a field of cherries, each cell is one of three possible integers. 0 means the cell is empty, so you can pass through, 1 means the cell contains a cherry…
2021-12-03
773-滑动谜题(Sliding Puzzle)
原文链接: https://leetcode-cn.com/problems/sliding-puzzle 英文原文On an 2 x 3 board, there are five tiles labeled from 1 to 5, and an empty square represented by 0. A move consists of choosing 0 and a 4-directionally adjacent number and swapping it. The stat…
2021-12-03
780-到达终点(Reaching Points)
原文链接: https://leetcode-cn.com/problems/reaching-points 英文原文Given four integers sx, sy, tx, and ty, return true if it is possible to convert the point (sx, sy) to the point (tx, ty) through some operations, or false otherwise. The allowed operation on…
2021-12-03
803-打砖块(Bricks Falling When Hit)
原文链接: https://leetcode-cn.com/problems/bricks-falling-when-hit 英文原文You are given an m x n binary grid, where each 1 represents a brick and 0 represents an empty space. A brick is stable if: It is directly connected to the top of the grid, or At least…
2021-12-03