加载中...
分类详情
中等 分类
1476-子矩形查询(Subrectangle Queries)
原文链接: https://leetcode-cn.com/problems/subrectangle-queries 英文原文Implement the class SubrectangleQueries which receives a rows x cols rectangle as a matrix of integers in the constructor and supports two methods: 1. updateSubrectangle(int row1, int co…
2021-12-03
1492-n 的第 k 个因子(The kth Factor of n)
原文链接: https://leetcode-cn.com/problems/the-kth-factor-of-n 英文原文Given two positive integers n and k. A factor of an integer n is defined as an integer i where n % i == 0. Consider a list of all factors of n sorted in ascending order, return the kth fa…
2021-12-03
1529-灯泡开关 IV(Bulb Switcher IV)
原文链接: https://leetcode-cn.com/problems/bulb-switcher-iv 英文原文There is a room with n bulbs, numbered from 0 to n - 1, arranged in a row from left to right. Initially, all the bulbs are turned off. Your task is to obtain the configuration represented by…
2021-12-03