劍指offer二十八:翻轉單詞順序VS左旋轉字符串

        #include<iostream> using namespace std; void Reverse(char* pBegin, char* pEnd) { if (pBegin == NULL || pEnd == NULL) return; while (pBegin < pEnd) { char temp = *pBegin; *pBegin = *p
相關文章
相關標籤/搜索