02 2023 档案

摘要:You are given two strings s1 and s2 of equal length consisting of letters "x" and "y" only. Your task is to make these two strings equal to each other 阅读全文
posted @ 2023-02-25 06:44 CNoodle 阅读(77) 评论(0) 推荐(0)
摘要:Suppose LeetCode will start its IPO soon. In order to sell a good price of its shares to Venture Capital, LeetCode would like to work on some projects 阅读全文
posted @ 2023-02-24 02:21 CNoodle 阅读(162) 评论(0) 推荐(0)
摘要:You are given a non-negative integer array nums. In one operation, you must: Choose a positive integer x such that x is less than or equal to the smal 阅读全文
posted @ 2023-02-24 01:34 CNoodle 阅读(144) 评论(0) 推荐(0)
摘要:You are given a series of video clips from a sporting event that lasted time seconds. These video clips can be overlapping with each other and have va 阅读全文
posted @ 2023-02-21 08:17 CNoodle 阅读(115) 评论(0) 推荐(0)
摘要:There is a one-dimensional garden on the x-axis. The garden starts at the point 0 and ends at the point n. (i.e The length of the garden is n). There 阅读全文
posted @ 2023-02-21 07:34 CNoodle 阅读(60) 评论(0) 推荐(0)
摘要:You are given an integer array ranks and a character array suits. You have 5 cards where the ith card has a rank of ranks[i] and a suit of suits[i]. T 阅读全文
posted @ 2023-02-20 14:03 CNoodle 阅读(89) 评论(0) 推荐(0)
摘要:Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the 阅读全文
posted @ 2023-02-19 14:05 CNoodle 阅读(55) 评论(0) 推荐(0)
摘要:There is a school that has classes of students and each class will be having a final exam. You are given a 2D integer array classes, where classes[i] 阅读全文
posted @ 2023-02-19 11:38 CNoodle 阅读(116) 评论(0) 推荐(0)
摘要:Given a 2D grid of 0s and 1s, return the number of elements in the largest square subgrid that has all 1s on its border, or 0 if such a subgrid doesn' 阅读全文
posted @ 2023-02-17 09:01 CNoodle 阅读(89) 评论(0) 推荐(0)
摘要:You are given a 0-indexed integer array nums. In one operation, you may do the following: Choose two integers in nums that are equal. Remove both inte 阅读全文
posted @ 2023-02-16 01:20 CNoodle 阅读(84) 评论(0) 推荐(0)
摘要:There is a tree (i.e., a connected, undirected graph with no cycles) structure country network consisting of n cities numbered from 0 to n - 1 and exa 阅读全文
posted @ 2023-02-15 01:43 CNoodle 阅读(133) 评论(0) 推荐(0)
摘要:On an alphabet board, we start at position (0, 0), corresponding to character board[0][0]. Here, board = ["abcde", "fghij", "klmno", "pqrst", "uvwxy", 阅读全文
posted @ 2023-02-15 00:47 CNoodle 阅读(62) 评论(0) 推荐(0)
摘要:We are given hours, a list of the number of hours worked per day for a given employee. A day is considered to be a tiring day if and only if the numbe 阅读全文
posted @ 2023-02-15 00:01 CNoodle 阅读(96) 评论(0) 推荐(0)
摘要:There is an authentication system that works with authentication tokens. For each session, the user will receive a new authentication token that will 阅读全文
posted @ 2023-02-09 05:56 CNoodle 阅读(105) 评论(0) 推荐(0)
摘要:Given a list of folders folder, return the folders after removing all sub-folders in those folders. You may return the answer in any order. If a folde 阅读全文
posted @ 2023-02-08 01:04 CNoodle 阅读(99) 评论(0) 推荐(0)
摘要:LeetCode company workers use key-cards to unlock office doors. Each time a worker uses their key-card, the security system saves the worker's name and 阅读全文
posted @ 2023-02-07 02:31 CNoodle 阅读(72) 评论(0) 推荐(0)
摘要:You are given two string arrays, queries and dictionary. All words in each array comprise of lowercase English letters and have the same length. In on 阅读全文
posted @ 2023-02-06 14:42 CNoodle 阅读(51) 评论(0) 推荐(0)
摘要:You are given the root of a full binary tree with the following properties: Leaf nodes have either the value 0 or 1, where 0 represents False and 1 re 阅读全文
posted @ 2023-02-06 06:16 CNoodle 阅读(104) 评论(0) 推荐(0)
摘要:Two players play a turn based game on a binary tree. We are given the root of this binary tree, and the number of nodes n in the tree. n is odd, and e 阅读全文
posted @ 2023-02-03 05:40 CNoodle 阅读(82) 评论(0) 推荐(0)
摘要:You are given the strings key and message, which represent a cipher key and a secret message, respectively. The steps to decode message are as follows 阅读全文
posted @ 2023-02-01 01:59 CNoodle 阅读(108) 评论(0) 推荐(0)