2019·年度总结

也许是周围的人都太优秀了,给自己一种紧张的压迫感。总想着追赶别人,所以总是催促自己,以至于做事情总想快快地做,快快地做。2020 年让自己一步一步地来,一点一点地来。

继续阅读
LeetCode 424. Longest Repeating Character Replacement

LeetCode 424. Longest Repeating Character Replacement

Given a string s that consists of only uppercase English letters, you can perform at most k operations on that string.

In one operation, you can choose any character of the string and change it to any other uppercase English character.

Find the length of the longest sub-string containing all repeating letters you can get after performing the above operations.

继续阅读