Loading

摘要: 76. 最小覆盖子串 难度困难1312 给你一个字符串 s 、一个字符串 t 。返回 s 中涵盖 t 所有字符的最小子串。如果 s 中不存在涵盖 t 所有字符的子串,则返回空字符串 "" 。 注意: 对于 t 中重复字符,我们寻找的子字符串中该字符数量必须不少于 t 中该字符数量。 如果 s 中存在 阅读全文
posted @ 2021-08-28 23:27 脂环 阅读(77) 评论(0) 推荐(0) 编辑
摘要: Problem Description Let's define the sum of all digits in x as g(x). For example, g(123)=1+2+3=6. Give you a function: f(x)=Ax2g(x)+Bx2+Cxg2(x)+Dxg(x) 阅读全文
posted @ 2021-08-28 21:58 脂环 阅读(172) 评论(0) 推荐(1) 编辑