Leetcode#344 Reverse String · 1.指到頭的指標(i = 0),指到尾的指標(j = s.size() - 1) · 2.如果指到頭的指標比尾的指標小,代表尚有元素未進行交換(while ...
確定! 回上一頁