03 2022 档案

摘要:Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the bi 阅读全文
posted @ 2022-03-25 22:55 Grandyang 阅读(459) 评论(0) 推荐(0) 编辑
摘要:Given an n x n integer matrix grid, return the minimum sum of a falling path with non-zero shifts. A falling path with non-zero shifts is a choice of 阅读全文
posted @ 2022-03-25 11:01 Grandyang 阅读(637) 评论(0) 推荐(0) 编辑
摘要:Given an array intervals where intervals[i] = [li, ri] represent the interval [li, ri), remove all intervals that are covered by another interval in t 阅读全文
posted @ 2022-03-22 13:45 Grandyang 阅读(437) 评论(0) 推荐(0) 编辑
摘要:Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than 25% of the time, return that in 阅读全文
posted @ 2022-03-20 08:31 Grandyang 阅读(349) 评论(0) 推荐(0) 编辑
摘要:Design the CombinationIterator class: CombinationIterator(string characters, int combinationLength) Initializes the object with a string characters of 阅读全文
posted @ 2022-03-07 13:54 Grandyang 阅读(361) 评论(0) 推荐(0) 编辑

Fork me on GitHub