07 2025 档案
摘要:Given an integer array nums, find the maximum possible bitwise OR of a subset of nums and return the number of different non-empty subsets with the ma
阅读全文
摘要:You are given a 0-indexed integer array nums. An index i is part of a hill in nums if the closest non-equal neighbors of i are smaller than nums[i]. S
阅读全文
摘要:You are given an array routes representing bus routes where routes[i] is a bus route that the ith bus repeats forever. For example, if routes[0] = [1,
阅读全文
摘要:A critical point in a linked list is defined as either a local maxima or a local minima. A node is a local maxima if the current node has a value stri
阅读全文
摘要:You are given an integer array nums. A subsequence sub of nums with length x is called valid if it satisfies: (sub[0] + sub[1]) % 2 == (sub[1] + sub[2
阅读全文
摘要:A word is considered valid if: It contains a minimum of 3 characters. It contains only digits (0-9), and English letters (uppercase and lowercase). It
阅读全文
摘要:You are given a 0-indexed integer array players, where players[i] represents the ability of the ith player. You are also given a 0-indexed integer arr
阅读全文
摘要:Alice is attempting to type a specific string on her computer. However, she tends to be clumsy and may press a key for too long, resulting in a charac
阅读全文

浙公网安备 33010602011771号