会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
排序map、pq、stack。固定 递归 贪心 开关 二分 滑动窗口(固递贪开二滑)
博客园
首页
新随笔
联系
订阅
管理
2022年11月12日
340. Longest Substring with At Most K Distinct Characters 最多k个字母不同的字符串
摘要: 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:18 苗妙苗
阅读(14)
评论(0)
推荐(0)
编辑
公告