01 2024 档案

摘要:You are given a 0-indexed integer array nums and an integer k. Return an integer that denotes the sum of elements in nums whose corresponding indices 阅读全文
posted @ 2024-01-25 15:05 CNoodle 阅读(65) 评论(0) 推荐(0)
摘要:You are given a 0-indexed array words consisting of distinct strings. The string words[i] can be paired with the string words[j] if: The string words[ 阅读全文
posted @ 2024-01-17 02:39 CNoodle 阅读(72) 评论(0) 推荐(0)
摘要:Given two string arrays words1 and words2, return the number of strings that appear exactly once in each of the two arrays. Example 1: Input: words1 = 阅读全文
posted @ 2024-01-12 11:45 CNoodle 阅读(48) 评论(0) 推荐(0)
摘要:You are given a string s consisting only of uppercase English letters. You can apply some operations to this string where, in one operation, you can r 阅读全文
posted @ 2024-01-10 02:14 CNoodle 阅读(90) 评论(0) 推荐(0)
摘要:Given an integer array nums, return the greatest common divisor of the smallest number and largest number in nums. The greatest common divisor of two 阅读全文
posted @ 2024-01-08 00:52 CNoodle 阅读(66) 评论(0) 推荐(0)
摘要:Given the head of a linked list head, in which each node contains an integer value. Between every pair of adjacent nodes, insert a new node with a val 阅读全文
posted @ 2024-01-08 00:48 CNoodle 阅读(45) 评论(0) 推荐(0)