摘要: You have a keypad with 9 buttons, numbered from 1 to 9, each mapped to lowercase English letters. You can choose which characters each button is match 阅读全文
posted @ 2023-07-20 09:03 CNoodle 阅读(321) 评论(0) 推荐(0)
摘要: You are given two 0-indexed integer arrays jobs and workers of equal length, where jobs[i] is the amount of time needed to complete the ith job, and w 阅读全文
posted @ 2023-07-20 07:49 CNoodle 阅读(180) 评论(0) 推荐(0)
摘要: You are given a 0-indexed string s consisting of only lowercase English letters. In one operation, you can change any character of s to any other char 阅读全文
posted @ 2023-07-20 07:18 CNoodle 阅读(98) 评论(0) 推荐(0)
摘要: You are given a 0-indexed integer array nums. Swaps of adjacent elements are able to be performed on nums. A valid array meets the following condition 阅读全文
posted @ 2023-07-20 06:58 CNoodle 阅读(205) 评论(0) 推荐(0)
摘要: You are given an array nums consisting of positive integers. You can perform the following operation on the array any number of times: Choose any two  阅读全文
posted @ 2023-07-20 04:26 CNoodle 阅读(105) 评论(0) 推荐(0)
摘要: Given the root of a binary tree and an array of TreeNode objects nodes, return the lowest common ancestor (LCA) of all the nodes in nodes. All the nod 阅读全文
posted @ 2023-07-20 01:48 CNoodle 阅读(105) 评论(0) 推荐(0)