01 2025 档案
摘要:A 0-indexed array derived with length n is derived by computing the bitwise XOR (⊕) of adjacent values in a binary array original of length n. Specifi
阅读全文
摘要:You are given an array arr of positive integers. You are also given the array queries where queries[i] = [left, right]. For each query i compute the X
阅读全文
摘要:You are given a 0-indexed array nums of integers. A triplet of indices (i, j, k) is a mountain if: i < j < k nums[i] < nums[j] and nums[k] < nums[j] R
阅读全文
摘要:You are given a binary string s and an integer k. A binary string satisfies the k-constraint if either of the following conditions holds: The number o
阅读全文
摘要:Given a string s and an integer k, return the total number of substrings of s where at least one character appears at least k times. Example 1: Input:
阅读全文

浙公网安备 33010602011771号