sort

作者: solk1234 | 来源:发表于2019-07-17 23:27 被阅读0次

    QuickSortion

    best:o(nlogn) evrytime half
    wrost:o(n2) line
    average:o(nlogn);
    stable:false (6,1(A),1(B),5) -> (1(B),1(A),5,6)
    space:o(1)

    SelectSorting

    all:o(n2)
    stable:true
    space:o(1)

    InsertionSort

    wrost:n2;
    best:n;
    average:n2;
    stable:true;

    相关文章

      网友评论

          本文标题:sort

          本文链接:https://www.haomeiwen.com/subject/xsldlctx.html