简介 目录 评价 推荐
  • 霜花似雪 2022-12-06

    object sortDemo {
     def qSort(a: List[Int]): List[Int] = {
       if (a.length < 2) a
       else qSort(a.filter(a.head > _)) ++
       a.filter(a.head == _) ++
       qSort(a.filter(a.head < _))
     }

     def main(args: Array[String]): Unit = {
       println(qSort(List(6,4,5,3,1,2,9,8,0)))
     }
    }

    0赞 · 0采集
  • 霜花似雪 2022-12-06

    实现快速排序

    0赞 · 0采集
  • str水煮鱼 2021-03-29

    http://img.mukewang.com/606187dd0001074407710427.jpg

    0赞 · 0采集
  • str水煮鱼 2021-03-29

    http://img.mukewang.com/606187dd0001074407710427.jpg

    快排

    0赞 · 0采集
  • str水煮鱼 2021-03-29

    http://img.mukewang.com/606187dd0001074407710427.jpg

    快排

    0赞 · 0采集
  • 慕粉1446071354 2020-05-24

    https://docs.scala-lang.org/overviews/collections/introduction.html

    0赞 · 0采集
  • 慕粉1446071354 2020-05-24

    http://img4.mukewang.com/5eca43ee0001940414920832.jpg

    http://img2.mukewang.com/5eca44560001c90211200834.jpghttp://img2.mukewang.com/5eca44680001abe210440158.jpg


    随堂笔记--








    0赞 · 0采集
  • lowenest 2019-07-15
    <a href="http://docs.scala-lang.org/overviews/collections/introduction.html" target="_blank">http://docs.scala-lang.org/overviews/collections/introduction.html</a>
    截图
    0赞 · 0采集
  • 念清荷 2018-06-13

    Scala实现快速排序

    截图
    0赞 · 0采集
  • 少帅521 2018-04-02

    https://img.mukewang.com/5ac24cc40001cbf506330328.jpg

    1赞 · 0采集
  • 暗淡蓝点6730 2018-01-03
    阅读材料地址 http://docs.scala-lang.org/overviews/collections/introduction.html
    截图
    1赞 · 0采集
  • 暗淡蓝点6730 2018-01-03
    递归实现快速排序算法
    截图
    0赞 · 0采集
  • bobozhangshao 2017-10-15
    htt://docs.scala-lang.org/overviews/collections/introduction.html
    0赞 · 0采集
  • 飞翔的鱼a 2017-07-31
    补充阅读材料:http://docs.scala-lang.org/overviews/collections/introduction.html
    截图
    0赞 · 0采集
  • 飞翔的鱼a 2017-07-29
    :paste用于编辑大段代码 退出并保存用Ctrl+D 二个List合并用List++List
    截图
    0赞 · 0采集
  • L_trans 2017-07-21
    object sortDemo { def qSort(a: List[Int]): List[Int] = { if (a.length < 2) a else qSort(a.filter(a.head > _)) ++ a.filter(a.head == _) ++ qSort(a.filter(a.head < _)) } def main(args: Array[String]): Unit = { println(qSort(List(6,4,5,3,1,2,9,8,0))) } }
    0赞 · 0采集
  • 混合剑客 2017-03-12
    阅读材料
    截图
    0赞 · 0采集
  • 慕粉3955271 2016-12-06
    快速排序3
    截图
    0赞 · 0采集
  • 慕粉3955271 2016-12-06
    快速排序2
    截图
    0赞 · 0采集
  • 慕粉3955271 2016-12-06
    快速排序
    截图
    0赞 · 0采集
  • greenflute 2016-11-05
    :paste , Ctrl+D
    截图
    0赞 · 0采集
  • Nameless 2016-09-16
    快速排序算法实例
    截图
    0赞 · 0采集
  • flick 2016-09-09
    非常喜欢这style
    0赞 · 0采集
  • abulaka 2016-07-19
    repl 中 使用 :paste 可以输入一块内容
    截图
    0赞 · 0采集
  • 论斤烤 2016-05-23
    阅读材料
    截图
    0赞 · 0采集
  • 论斤烤 2016-05-23
    :paste
    截图
    0赞 · 1采集
  • 论斤烤 2016-05-23
    例子:实现快速排序
    截图
    0赞 · 1采集
  • qq_Fay_0 2016-05-10
    快速排序的scala实现
    截图
    0赞 · 0采集
  • DC_Change 2016-05-09
    算法内容
    截图
    0赞 · 0采集
  • 水木之结 2016-05-02
    补充材料
    截图
    0赞 · 0采集
数据加载中...
开始学习 免费