1 2 3 4 5 ··· 54 下一页
摘要: This question is about implementing a basic elimination algorithm for Candy Crush. Given an m x n integer array board representing the grid of candy w 阅读全文
posted @ 2025-11-03 06:00 北叶青藤 阅读(5) 评论(0) 推荐(0)
摘要: Given an array arr of positive integers sorted in a strictly increasing order, and an integer k. Return the kth positive integer that is missing from 阅读全文
posted @ 2025-01-09 09:39 北叶青藤 阅读(22) 评论(0) 推荐(0)
摘要: Description Given two nodes of a binary tree p and q, return their lowest common ancestor (LCA). Each node will have a reference to its parent node. T 阅读全文
posted @ 2024-12-28 06:07 北叶青藤 阅读(22) 评论(0) 推荐(0)
摘要: You are given a string s and an integer k. You can choose any character of the string and change it to any other uppercase English character. You can 阅读全文
posted @ 2024-12-27 02:04 北叶青藤 阅读(28) 评论(0) 推荐(0)
摘要: his is an interactive problem. You are given an array of unique strings wordlist where wordlist[i] is 6 letters long, and one word in this list is cho 阅读全文
posted @ 2021-07-06 11:37 北叶青藤 阅读(56) 评论(0) 推荐(0)
摘要: You are given a string s representing an attendance record for a student where each character signifies whether the student was absent, late, or prese 阅读全文
posted @ 2021-07-06 11:04 北叶青藤 阅读(55) 评论(0) 推荐(0)
摘要: A Range Module is a module that tracks ranges of numbers. Design a data structure to track the ranges represented as half-open intervals and query abo 阅读全文
posted @ 2021-07-05 07:30 北叶青藤 阅读(61) 评论(0) 推荐(0)
摘要: You are a hiker preparing for an upcoming hike. You are given heights, a 2D array of size rows x columns, where heights[row][col] represents the heigh 阅读全文
posted @ 2021-07-05 07:23 北叶青藤 阅读(58) 评论(0) 推荐(0)
摘要: Given strings s1 and s2, return the minimum contiguous substring part of s1, so that s2 is a subsequence of the part. If there is no such window in s1 阅读全文
posted @ 2021-07-05 03:31 北叶青藤 阅读(51) 评论(0) 推荐(0)
摘要: Given a rows x cols screen and a sentence represented as a list of strings, return the number of times the given sentence can be fitted on the screen. 阅读全文
posted @ 2021-07-05 01:28 北叶青藤 阅读(59) 评论(0) 推荐(0)
1 2 3 4 5 ··· 54 下一页