跳转的 // 字符串 this.$router.push('/home/first') // 对象 this.$router.push({ path: '/home/first' }) // 命名的路由 this.$router.push({ name: 'home', params: { user ...
分类:
其他好文 时间:
2020-06-28 14:55:29
阅读次数:
38
树——存储结构 双亲表示法(顺序存储) 双亲表示法:每个节点中保存指向双亲的“指针” #define MAX_TREE_SIZE 100 //树中最多的结点数 typedef struct{ //树的结点定义 ElemType data; //数据元素 int parent; //双亲位置域 }PT ...
分类:
其他好文 时间:
2020-06-28 13:06:22
阅读次数:
76
var cars = ["Banana", "Orange", "Apple", "Mango"]; var x = cars.length; // length 属性返回元素的数量var y = cars.sort(); // sort() 方法对数组进行排序 var first = cars[0 ...
分类:
编程语言 时间:
2020-06-28 09:38:11
阅读次数:
59
一. 数据清洗主要工作 ? 噪声(Noise)消除 ? 噪声包含错误值(类别型字段)及离群值(数值型字段) ? 噪声使探勘结果有相当大的偏差,必须将噪声移除或将其做适当的处理 2. 空值(Missing Value)填补 ? 人工填补? 自动填补 二.噪声如何处理 噪声侦测方法 ? 针对类别型字段, ...
分类:
其他好文 时间:
2020-06-27 19:56:43
阅读次数:
253
41. 缺失的第一个正数 题目来源:力扣(LeetCode)https://leetcode-cn.com/problems/first-missing-positive 题目 给你一个未排序的整数数组,请你找出其中没有出现的最小的正整数。 示例 1: 输入: [1,2,0] 输出: 3 示例 2: ...
分类:
编程语言 时间:
2020-06-27 18:38:48
阅读次数:
62
#Path类 python对系统文件操作的类 ###导入 from pathlib import Path ###初始化 对文件或者目录进行初始化 p = Path() #对当前目录进行初始化 p1 = Path('/etc/ssh/sshd_config') #对文件进行初始化 p2 = Path ...
分类:
编程语言 时间:
2020-06-27 11:45:21
阅读次数:
78
Count and Say (E) 题目 The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 ...
分类:
其他好文 时间:
2020-06-27 10:01:45
阅读次数:
74
First Missing Positive (H) 题目 Given an unsorted integer array, find the smallest missing positive integer. Example 1: Input: [1,2,0] Output: 3 Example ...
分类:
其他好文 时间:
2020-06-27 09:31:04
阅读次数:
53
1、下载安装包,下载链接如下: http://ftp.gnu.org/gnu/binutils/ wget http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz tar -xzvf binutils-2.32.tar.gzcd binutils-2 ...
分类:
系统相关 时间:
2020-06-26 20:24:07
阅读次数:
280
不知不觉,已经到最后的章节了,又是2个月过去了。时间过得真的很快,工作快2年了,我还是个常常迷茫找不到方向的人。 设计模式,模式是在某情境下针对某问题的解决方案。这句话让我想起了我们的一个大领导,每次吃饭都会和我们吹 “模型”、套路,说人做的所有事里面都有套模型和成功套路在的,我们平常做的事就是在找 ...
分类:
其他好文 时间:
2020-06-26 19:54:48
阅读次数:
34