上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: package main import "fmt" type ListNode struct{ val int next *ListNode } func hasCycle(head *ListNode) bool{ if head == nil || head.next == nil{ retur 阅读全文
posted @ 2020-11-27 20:42 威威后花园 阅读(210) 评论(0) 推荐(0) 编辑
摘要: package main import "fmt" func upper_bound_ (v int, a[] int) int{ len_a := len(a) left := 0 right := len_a - 1 for { mid := left + (right - left) / 2 阅读全文
posted @ 2020-11-27 11:20 威威后花园 阅读(56) 评论(0) 推荐(0) 编辑
摘要: package main import "fmt" type ListNode struct{ Val int Next *ListNode } func ReverseList(pHead *ListNode) *ListNode{ if(pHead == nil || pHead.Next == 阅读全文
posted @ 2020-11-26 12:03 威威后花园 阅读(163) 评论(0) 推荐(0) 编辑
摘要: pip安装 python3 -m pip install cvxpy 使用import cvxpy报错 解决方法 学习文档 https://www.cvxpy.org/tutorial/intro/index.html 阅读全文
posted @ 2020-11-17 15:48 威威后花园 阅读(530) 评论(0) 推荐(0) 编辑
摘要: step1: 下载redis https://redis.io/download step2: 解压下载好的redis tar -xvf redis-6.0.9.tar.gz step3: cd redis-6.0.9 step4: 下载gcc等编译工具环境 redis编译报上面错误,一般是环境问题 阅读全文
posted @ 2020-11-17 10:51 威威后花园 阅读(88) 评论(0) 推荐(0) 编辑
摘要: step1: 完成统计词频的flink代码,可以直接在我的github上下载:https://github.com/hiahia121/flink-wordscount step2: 将代码打包成jar包,使用maven管理打包 涉及的打包插件 <plugin> <groupId>org.apach 阅读全文
posted @ 2020-11-13 17:14 威威后花园 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 使用idea自带的打包功能,将java项目打包成可执行的jar文件 step1: 配置project structure step2: 配置project structure step3: 配置project structure step4: 配置project structure step5: 配 阅读全文
posted @ 2020-11-13 15:57 威威后花园 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 1. 下载flink https://www.apache.org/dyn/closer.lua/flink/flink-1.11.2/flink-1.11.2-bin-scala_2.11.tgz 2. 解压下载的文件 3. 查看是否安装完成 3.1 vi ~/.bash_profile中追加 a 阅读全文
posted @ 2020-11-11 17:18 威威后花园 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-11 11:33 威威后花园 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 《spark入门学习》 1. 下载spark http://archive.apache.org/dist/spark/spark-2.4.4/ 2. 解压spark-2.4.4-bin-hadoop2.7.tgz 到 /Users/yyc121/software/ 3. 配置pyspark全局变量 阅读全文
posted @ 2020-11-10 10:21 威威后花园 阅读(310) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页