摘要: You are given two strings s and t consisting of only lowercase English letters. Return the minimum number of characters that need to be appended to th 阅读全文
posted @ 2023-07-19 22:23 CNoodle 阅读(81) 评论(0) 推荐(0)
摘要: You are given an integer array nums and an integer k. Find the maximum subarray sum of all the subarrays of nums that meet the following conditions: T 阅读全文
posted @ 2023-07-19 13:09 CNoodle 阅读(160) 评论(0) 推荐(0)
摘要: You are given a 0-indexed binary string s which represents the types of buildings along a street where: s[i] = '0' denotes that the ith building is an 阅读全文
posted @ 2023-07-19 12:30 CNoodle 阅读(78) 评论(0) 推荐(0)
摘要: A robot on an infinite XY-plane starts at point (0, 0) facing north. The robot can receive a sequence of these three possible types of commands: -2: T 阅读全文
posted @ 2023-07-19 06:55 CNoodle 阅读(63) 评论(0) 推荐(0)
摘要: You are given an array nums of positive integers and a positive integer k. A subset of nums is beautiful if it does not contain two integers with an a 阅读全文
posted @ 2023-07-19 03:59 CNoodle 阅读(319) 评论(0) 推荐(0)