yyy32
V2EX  ›  问与答

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

  •  
  •   yyy32 · Mar 14, 2017 · 1832 views
    This topic created in 3349 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   ·   2881 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 10:19 · PVG 18:19 · LAX 03:19 · JFK 06:19
    ♥ Do have faith in what you're doing.