原文链接: https://leetcode-cn.com/problems/bulb-switcher-iv
英文原文There is a room with n bulbs, numbered from 0 to n - 1, ar
标签详情
|
贪心 分类
原文链接: https://leetcode-cn.com/problems/minimum-swaps-to-arrange-a-binary-grid
英文原文Given an n x n binary grid, in one s
原文链接: https://leetcode-cn.com/problems/get-the-maximum-score
英文原文You are given two sorted arrays of distinct integers
原文链接: https://leetcode-cn.com/problems/minimum-numbers-of-function-calls-to-make-target-array
英文原文
Your task is to fo
原文链接: https://leetcode-cn.com/problems/maximum-length-of-subarray-with-positive-product
英文原文Given an array of integers
原文链接: https://leetcode-cn.com/problems/maximum-sum-obtained-of-any-permutation
英文原文We have an array of integers, nums,
原文链接: https://leetcode-cn.com/problems/minimum-deletion-cost-to-avoid-repeating-letters
英文原文Given a string s and
原文链接: https://leetcode-cn.com/problems/check-if-string-is-transformable-with-substring-sort-operations
英文原文Given two s
原文链接: https://leetcode-cn.com/problems/find-servers-that-handled-most-number-of-requests
英文原文You have k servers number
原文链接: https://leetcode-cn.com/problems/find-valid-matrix-given-row-and-column-sums
英文原文You are given two arrays rowSum