摘要: You are given a 0-indexed integer array nums. A pair of indices (i, j) is a bad pair if i < j and j - i != nums[j] - nums[i]. Return the total number 阅读全文
posted @ 2025-02-09 12:21 CNoodle 阅读(64) 评论(0) 推荐(0)
摘要: Design a number container system that can do the following: Insert or Replace a number at the given index in the system. Return the smallest index for 阅读全文
posted @ 2025-02-09 04:20 CNoodle 阅读(32) 评论(0) 推荐(0)