摘要: > 题目链接:[1032. 字符流](https://leetcode.cn/problems/stream-of-characters/) 设计一个算法:接收一个字符流,并检查这些字符的后缀是否是字符串数组 `words` 中的一个字符串。 例如,`words = ["abc", "xyz"]` 阅读全文
posted @ 2023-03-26 12:19 Weltㅤ 阅读(18) 评论(0) 推荐(0) 编辑
摘要: > 题目链接:[1574. 删除最短的子数组使剩余数组有序](https://leetcode.cn/problems/shortest-subarray-to-be-removed-to-make-array-sorted/) 给你一个整数数组 `arr` ,请你删除一个子数组(可以为空),使得 阅读全文
posted @ 2023-03-26 12:18 Weltㅤ 阅读(23) 评论(0) 推荐(0) 编辑