julycoding / The-Art-Of-Programming-By-July-2nd

本项目曾冲到全球第一,干货集锦见本页面最底部,另完整精致的纸质版《编程之法:面试和算法心得》已在京东/当当上销售

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

奇偶排序

Daniel-Xu opened this issue · comments

错误的地方:

swap(*pBegin, *pEnd);

调用应该是传进去指针,而不是 其 解引用

commented

@Daniel-Xu 你说的是解法一,还是解法二?

@julycoding 解法一的, 对了 在哪里有 最新的word, 我可以帮着校验下, 还有那个 dutch flag,leetcode上有个一样的题,不过我觉得那个解法好理解些,不用交换。

commented

@Daniel-Xu ,你加下我Q:786 165 179。

发送request, 如果没有收到,加下我: 810850158
On Oct 6, 2014, at 10:33 AM, July notifications@github.com wrote:

786 165 179