02 2025 档案

摘要:You are given a 0-indexed string array words. Two strings are similar if they consist of the same characters. For example, "abca" and "cba" are simila 阅读全文
posted @ 2025-02-22 02:39 CNoodle 阅读(58) 评论(0) 推荐(0)
摘要:You are given a 0-indexed 2D matrix grid of size m x n, where (r, c) represents: A land cell if grid[r][c] = 0, or A water cell containing grid[r][c] 阅读全文
posted @ 2025-02-17 10:56 CNoodle 阅读(54) 评论(0) 推荐(0)
摘要:You are given a 0-indexed array nums consisting of positive integers. You can choose two indices i and j, such that i != j, and the sum of digits of t 阅读全文
posted @ 2025-02-12 13:57 CNoodle 阅读(90) 评论(0) 推荐(0)
摘要: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 阅读(70) 评论(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 阅读(35) 评论(0) 推荐(0)