摘要:
leetcode分类刷题:字符串匹配KMP算法https://leetcode.cn/problems/find-the-index-of-the-first-occurrence-in-a-string/description/ 并查集https://leetcode.cn/problems/mo 阅读全文
摘要:
string倒排 reverse #include <iostream> #include <string> #include <algorithm> int main() { std::string str = "Hello, World!"; std::reverse(str.begin(), 阅读全文