10 2022 档案

摘要:Given an integer array nums, partition it into two (contiguous) subarrays left and right so that: Every element in left is less than or equal to every 阅读全文
posted @ 2022-10-24 14:43 CNoodle 阅读(43) 评论(0) 推荐(0)
摘要:You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer than t 阅读全文
posted @ 2022-10-23 04:22 CNoodle 阅读(96) 评论(0) 推荐(0)
摘要:The school cafeteria offers circular and square sandwiches at lunch break, referred to by numbers 0 and 1 respectively. All students stand in a queue. 阅读全文
posted @ 2022-10-19 06:53 CNoodle 阅读(375) 评论(0) 推荐(0)
摘要:You are given the head of a linked list containing unique integer values and an integer array nums that is a subset of the linked list values. Return  阅读全文
posted @ 2022-10-16 06:40 CNoodle 阅读(49) 评论(0) 推荐(0)
摘要:You are given the head of a linked list. Delete the middle node, and return the head of the modified linked list. The middle node of a linked list of 阅读全文
posted @ 2022-10-16 05:38 CNoodle 阅读(129) 评论(0) 推荐(0)
摘要:Given a palindromic string of lowercase English letters palindrome, replace exactly one character with any lowercase English letter so that the result 阅读全文
posted @ 2022-10-11 05:57 CNoodle 阅读(124) 评论(0) 推荐(0)
摘要:Given an m x n picture consisting of black 'B' and white 'W' pixels, return the number of black lonely pixels. A black lonely pixel is a character 'B' 阅读全文
posted @ 2022-10-04 13:52 CNoodle 阅读(92) 评论(0) 推荐(0)