摘要:
28.找出字符串中第一个匹配项的下标 mydemo--(my thought)--(falied) class Solution { public: int strStr(string haystack, string needle) { for(int i=0; i<haystack.size() 阅读全文
posted @ 2023-09-14 14:06
zz子木zz
阅读(15)
评论(0)
推荐(0)
摘要:
344.反转字符串 mydemo--(一次就过)--(成功) class Solution { public: void reverseString(vector<char>& s) { int len = s.size(); char tmp; int i=0; int j = len-1; wh 阅读全文
posted @ 2023-09-14 14:04
zz子木zz
阅读(18)
评论(0)
推荐(0)

浙公网安备 33010602011771号