加载中...
分类详情
困难 分类
956-最高的广告牌(Tallest Billboard)
原文链接: https://leetcode-cn.com/problems/tallest-billboard 英文原文You are installing a billboard and want it to have the largest height. The billboard will have two steel supports, one on each side. Each steel support must be an equal height. You are give…
2021-12-03
972-相等的有理数(Equal Rational Numbers)
原文链接: https://leetcode-cn.com/problems/equal-rational-numbers 英文原文Given two strings s and t, each of which represents a non-negative rational number, return true if and only if they represent the same number. The strings may use parentheses to denote…
2021-12-03
1001-网格照明(Grid Illumination)
原文链接: https://leetcode-cn.com/problems/grid-illumination 英文原文There is a 2D grid of size n x n where each cell of this grid has a lamp that is initially turned off. You are given a 2D array of lamp positions lamps, where lamps[i] = [rowi, coli] indica…
2021-12-03
1096-花括号展开 II(Brace Expansion II)
原文链接: https://leetcode-cn.com/problems/brace-expansion-ii 中文题目如果你熟悉 Shell 编程,那么一定了解过花括号展开,它可以用来生成任意字符串。 花括号展开的表达式可以看作一个由 花括号、逗号 和 小写英文字母 组成的字符串,定义下面几条语法规则: 如果只给出单一的元素 x,那么表达式表示的字符串就只有 "x"。R(x) = &#123;x&#125; <ul> <li>例如,表达式 <code>"a"</code> 表示字符串 <c…
2021-12-03