加载中...
分类详情
中等 分类
1375-灯泡开关 III(Bulb Switcher III)
原文链接: https://leetcode-cn.com/problems/bulb-switcher-iii 英文原文There is a room with n bulbs, numbered from 1 to n, arranged in a row from left to right. Initially, all the bulbs are turned off. At moment k (for k from 0 to n - 1), we turn on the light[…
2021-12-03
1447-最简分数(Simplified Fractions)
原文链接: https://leetcode-cn.com/problems/simplified-fractions 英文原文Given an integer n, return a list of all simplified fractions between 0 and 1 (exclusive) such that the denominator is less-than-or-equal-to n. The fractions can be in any order. Example…
2021-12-03