Jump Game II (H) 题目 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array r ...
分类:
其他好文 时间:
2020-06-30 09:14:16
阅读次数:
59
高效能人士的七个习惯: 习惯一:积极主动 Be Proactive 习惯二:以始为终 Begin with the end in mind 习惯三:要事第一 Put first things first 习惯四:双赢思维 Think win/win 习惯五:知彼解己 Seek first to un ...
分类:
其他好文 时间:
2020-06-29 22:49:01
阅读次数:
119
CCSU团队训练赛 H - Billionaires URAL - 1650 ? You probably are aware that Moscow holds the first place in the world with respect to the number of billionai ...
分类:
其他好文 时间:
2020-06-28 22:22:44
阅读次数:
149
六月箴言 走好选择的路,别选择好走的路,你才能拥有真正的自己。—— 杨绛 第十三章 真实世界中的模式 定义设计模式 模式是在某情景下,针对某问题的某种解决方案。 情景就是应用某个模式的情况。这应该是会不断出现的情况。 问题就是你想在某情景下达到的目标,单也可以是某情景下的约束。 解决方案就是你所追求 ...
分类:
其他好文 时间:
2020-06-28 22:22:25
阅读次数:
61
与设计模式相处 定义设计模式 模式时在某情境下,针对某问题的某种解决方案 情境,就是应用某个模式的情况,这应该是会不断出现的情况。 问题,就是你想在某情境下达到的目标,但也可以是某情境下的约束。 解决方案,就是你说追求的一个通用的设计,用来解决约束、达到目标。 如果你发现自己处于某个情境下,面对着所 ...
分类:
其他好文 时间:
2020-06-28 20:49:13
阅读次数:
44
常规方法: 1 void SobelAmplitude(Mat &sobelx, Mat &sobely, Mat &SobelXY) { 2 SobelXY = Mat::zeros(sobelx.size(), CV_32FC1); 3 for (int i = 0; i < SobelXY.r ...
分类:
其他好文 时间:
2020-06-28 18:24:46
阅读次数:
51
跳转的 // 字符串 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
41. 缺失的第一个正数 题目来源:力扣(LeetCode)https://leetcode-cn.com/problems/first-missing-positive 题目 给你一个未排序的整数数组,请你找出其中没有出现的最小的正整数。 示例 1: 输入: [1,2,0] 输出: 3 示例 2: ...
分类:
编程语言 时间:
2020-06-27 18:38:48
阅读次数:
62