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 阅读全文
posted @ 2025-01-27 05:42 CNoodle 阅读(37) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2025-01-26 14:41 CNoodle 阅读(37) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2025-01-18 01:36 CNoodle 阅读(60) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2025-01-09 07:22 CNoodle 阅读(62) 评论(0) 推荐(0)
摘要: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: 阅读全文
posted @ 2025-01-04 06:20 CNoodle 阅读(45) 评论(0) 推荐(0)