1 """ 2 There are a total of n courses you have to take, labeled from 0 to n-1. 3 Some courses may have prerequisites, for example to take course 0 yo ...
分类:
其他好文 时间:
2020-02-04 17:16:30
阅读次数:
77
1、docker不是容器,而是创建容器的工具;容器和虚拟机镜像、仓库、容器2、k8s一个K8S系统,通常称为一个K8S集群(Cluster)。这个集群主要包括两个部分:一个Master节点(主节点)一群Node节点(计算节点)一看就明白:Master节点主要还是负责管理和控制。Node节点是工作负载... ...
分类:
其他好文 时间:
2020-02-04 15:53:04
阅读次数:
77
k8s中token过期重新生成 通过kubeadm初始化之后,都会提供node加入的token 默认的token的有效期是24小时,当过期了,如何新生成呢 重新生成token: [root@k8s-master ~]# kubeadm token create kk0ee6.nhvz5p85avmz ...
分类:
其他好文 时间:
2020-02-04 13:55:51
阅读次数:
374
题目描述定义栈的数据结构,请在该类型中实现一个能够得到栈中所含最小元素的min函数(时间复杂度应为O(1))。思路We need another data structure to sotre the min list.(Use stack may be the best way)代码1234567... ...
分类:
其他好文 时间:
2020-02-04 12:26:28
阅读次数:
92
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Input: "aba" Output: True Exa ...
分类:
其他好文 时间:
2020-02-04 11:04:16
阅读次数:
77
We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each string, we ...
分类:
其他好文 时间:
2020-02-04 10:24:21
阅读次数:
67
本文并不限定你使用什么类型的 IDE(如 Eclipse,NetBeans IDE,或者 IntelliJ IDEA, 它们通过提供自动完成,重构,调试特性来很大程度上简化了开发)来编码,你可以选择你喜欢的 IDE。 本节将(通过以下步骤)说明如何使用 MyBatis 开发一个简单的 Java 项目 ...
分类:
其他好文 时间:
2020-02-03 22:55:20
阅读次数:
156
There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to ...
分类:
其他好文 时间:
2020-02-03 13:33:02
阅读次数:
57
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2020-02-03 12:04:03
阅读次数:
69