字符串
bekote
这个作者很懒,什么都没留下…
展开
-
字符串 || 字典树判断哈夫曼编码
An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is theprefix of a code for another symbol. We will assume for this problem that all codes are in binary, t...原创 2018-03-28 20:33:55 · 567 阅读 · 0 评论 -
补题向 | Segment Occurrences(字符串)
B. Segment OccurrencesYou are given two strings ss and tt, both consisting only of lowercase Latin letters.The substring s[l..r]s[l..r] is the string which is obtained by taking characters sl,sl+1...原创 2018-08-06 16:50:10 · 571 阅读 · 0 评论