09 2024 档案

摘要:Design your implementation of the circular double-ended queue (deque). Implement the MyCircularDeque class: MyCircularDeque(int k) Initializes the deq 阅读全文
posted @ 2024-09-29 02:11 CNoodle 阅读(44) 评论(0) 推荐(0)
摘要:An alphabetical continuous string is a string consisting of consecutive letters in the alphabet. In other words, it is any substring of the string "ab 阅读全文
posted @ 2024-09-20 04:27 CNoodle 阅读(46) 评论(0) 推荐(0)
摘要:A sentence is a string of single-space separated words where each word consists only of lowercase letters. A word is uncommon if it appears exactly on 阅读全文
posted @ 2024-09-18 02:57 CNoodle 阅读(48) 评论(0) 推荐(0)
摘要:You are given an integer array nums of size n. Consider a non-empty subarray from nums that has the maximum possible bitwise AND. In other words, let 阅读全文
posted @ 2024-09-15 03:28 CNoodle 阅读(52) 评论(0) 推荐(0)
摘要:You are given two integers m and n, which represent the dimensions of a matrix. You are also given the head of a linked list of integers. Generate an 阅读全文
posted @ 2024-09-15 00:41 CNoodle 阅读(70) 评论(0) 推荐(0)
摘要:You start at the cell (rStart, cStart) of an rows x cols grid facing east. The northwest corner is at the first row and column in the grid, and the so 阅读全文
posted @ 2024-09-14 14:58 CNoodle 阅读(51) 评论(0) 推荐(0)
摘要:You are given the head of a linked list, which contains a series of integers separated by 0's. The beginning and end of the linked list will have Node 阅读全文
posted @ 2024-09-09 10:36 CNoodle 阅读(40) 评论(0) 推荐(0)