摘要:
一、题目 二、代码 class Solution { public: int strStr(string haystack, string needle) { if (needle.length()==0) return 0; if( haystack.length()< needle.length 阅读全文
posted @ 2021-12-07 10:56
星光夜
阅读(29)
评论(0)
推荐(0)
摘要:
一、题目 二、代码 class Solution { public: string reverseLeftWords(string s, int n) { string start = s.substr(0, n); string end = s.substr(n, s.length()-n); e 阅读全文
posted @ 2021-12-07 09:58
星光夜
阅读(25)
评论(0)
推荐(0)

浙公网安备 33010602011771号