随笔分类 -  算法基础—双指针

摘要:You are given two strings 𝑠s and 𝑡t, both consisting of lowercase English letters. You are going to type the string 𝑠s character by character, from 阅读全文
posted @ 2022-02-04 21:00 脂环 阅读(96) 评论(0) 推荐(0) 编辑
摘要:链接:https://ac.nowcoder.com/acm/contest/11185/C 来源:牛客网 题目描述 给出一个正整数序列 [a1…an][a1…an] 以及定值 kk,每次可以选择一个区间 [l,r] (r−l+1≥k)[l,r] (r−l+1≥k),把这个区间内的 aiai 除以二 阅读全文
posted @ 2022-01-21 23:26 脂环 阅读(93) 评论(1) 推荐(0) 编辑
摘要:76. 最小覆盖子串 难度困难1312 给你一个字符串 s 、一个字符串 t 。返回 s 中涵盖 t 所有字符的最小子串。如果 s 中不存在涵盖 t 所有字符的子串,则返回空字符串 "" 。 注意: 对于 t 中重复字符,我们寻找的子字符串中该字符数量必须不少于 t 中该字符数量。 如果 s 中存在 阅读全文
posted @ 2021-08-28 23:27 脂环 阅读(82) 评论(0) 推荐(0) 编辑
摘要:Problem Description TI10 and ICPC World Finals 2020, which will be held earlier? Take a bet! The International(TI) is the biggest and most prestigious 阅读全文
posted @ 2021-08-18 01:53 脂环 阅读(139) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示
主题色彩