11 2022 档案

摘要:You are given an inclusive range [lower, upper] and a sorted unique integer array nums, where all elements are in the inclusive range. A number x is c 阅读全文
posted @ 2022-11-13 07:18 苗妙苗 阅读(34) 评论(0) 推荐(0)
摘要:Design and implement an iterator to flatten a 2d vector. It should support the following operations: next and hasNext. Example: Vector2D iterator = ne 阅读全文
posted @ 2022-11-13 06:55 苗妙苗 阅读(26) 评论(0) 推荐(0)
摘要:Given a string s and an integer k, return the length of the longest substring of s that contains at most k distinct characters. Example 1: Input: s = 阅读全文
posted @ 2022-11-12 02:17 苗妙苗 阅读(24) 评论(0) 推荐(0)