yyy32
V2EX  ›  问与答

为什么人和人的智商差那么多啊

  •  
  •   yyy32 · Mar 14, 2017 · 1876 views
    This topic created in 3374 days ago, the information mentioned may be changed or developed.

    while left < right: while left < right and lists[right] >= key: right -= 1 lists[left] = lists[right] while left < right and lists[left] <= key: left += 1

    每次看到 快速排序 感觉自己一辈子都不可能能想出这样的程序啊

    wildcat007
        1
    wildcat007  
       Mar 15, 2017
    鸡还有生蛋多和少的呢
    imcxy
        2
    imcxy  
       Mar 15, 2017
    数学家研究半辈子,你一下就搞出来,你想上天啊。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5161 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 09:22 · PVG 17:22 · LAX 02:22 · JFK 05:22
    ♥ Do have faith in what you're doing.