会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
飞晨信息
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
2018年7月11日
快速排序和二分查找(Javascript)
摘要: var data = [8, 3, 4, 1, 18, 22, 11, 3, 5, 6, 2, 1, 77]quickSort(data, 0, data.length - 1)console.log(data)var index = binarySearch(data, 18);console.l
阅读全文
posted @ 2018-07-11 10:00 飞晨信息
阅读(261)
评论(0)
推荐(0)
2018年7月9日
快速排序和二分查找(Go)
摘要: package mainimport ( "fmt" "sync")var waitGroup sync.WaitGroupfunc main() { data := []int{2, 3, 5, 1, 4, 5, 2, 13, 51, 9, 10, 15, 17, 6, 21, 33, 44, 7
阅读全文
posted @ 2018-07-09 13:16 飞晨信息
阅读(445)
评论(0)
推荐(0)
快速排序和二分查找(Java)
摘要: import java.util.Arrays;public class Main { public static void main(String[] args) { int[] data = {2, 3, 5, 1, 4, 5, 2, 13, 51, 9, 10, 15, 17, 6, 21,
阅读全文
posted @ 2018-07-09 13:13 飞晨信息
阅读(520)
评论(0)
推荐(0)
2017年8月14日
cgo
摘要: package mainimport ( "unsafe" "fmt") /*#cgo CFLAGS: -I./#cgo LDFLAGS: -L./#include <test.h>*/import "C" //export printlnfunc println(str *C.char) { fm
阅读全文
posted @ 2017-08-14 12:34 飞晨信息
阅读(455)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
公告