LeetCode第235场周赛题解
摘要:LeetCode第235场周赛题解 截断句子 按照题目要求模拟即可,把单词读入到vector中,然后按要求拼接即可 class Solution { public: string truncateSentence(string s, int k) { vector<string> a; string
阅读全文
posted @ 2021-04-04 13:37
posted @ 2021-04-04 13:37
posted @ 2021-04-04 09:50