摘要: You are given an array happiness of length n, and a positive integer k. There are n children standing in a queue, where the ith child has happiness va 阅读全文
posted @ 2024-05-10 05:13 CNoodle 阅读(15) 评论(0) 推荐(0) 编辑
摘要: You are given a 0-indexed integer array batteryPercentages having length n, denoting the battery percentages of n 0-indexed devices. Your task is to t 阅读全文
posted @ 2024-05-10 03:38 CNoodle 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob want to water n plants in their garden. The plants are arranged in a row and are labeled from 0 to n - 1 from left to right where the it 阅读全文
posted @ 2024-05-10 01:44 CNoodle 阅读(10) 评论(0) 推荐(0) 编辑