2018年10月1日

服务器上安装anaconda

摘要: 1、在anaconda网站下载安装包: 清华镜像网站:https://repo.continuum.io/archive/index.html 2、下载最新版本为python3 ,Linux64位的: Anaconda3-5.3.0-Linux-x86_64.sh 3、采用命令将sh 文件上传到服务 阅读全文

posted @ 2018-10-01 16:18 吱吱了了 阅读(1344) 评论(0) 推荐(0)

链表问题(3)-----反转

摘要: 1、题目:反转单链表或双链表 要求:如果链表长度为N,时间复杂度为O(N),额外的空间复杂度为O(1) 反转单链表的思路: 1 → 2 → 3 → 4 → 5 (1)first = head = 1 循环: temp = head.next 2 head.next = temp.next 1 → 3 阅读全文

posted @ 2018-10-01 11:46 吱吱了了 阅读(259) 评论(0) 推荐(0)

导航