摘要: 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 北叶青藤 阅读(49) 评论(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 北叶青藤 阅读(47) 评论(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 北叶青藤 阅读(39) 评论(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 北叶青藤 阅读(53) 评论(0) 推荐(0) 编辑