He ________ you if you ________ to see him that afternoon. A. might tell, were going B. told, were going C. might have told, had gone D. should tell, ...
分类:
其他好文 时间:
2019-08-25 14:06:23
阅读次数:
135
#!/bin/bash# Used for other system-environment update! echo -e '\n\033[35m~~请使用root权限运行此脚本~~\033[0m\n'read -n 1 -p "Sure?(y/n):" sureechoif [ $sure == ...
分类:
系统相关 时间:
2019-08-23 22:15:31
阅读次数:
116
概述 前不久刚学会使用权限注解(),开始思索了一番。最开始猜测实现方式是注解@Aspect,具体实现方式类似如下所示(切面记录审计日志)。后来发现并非如此,所以特地分析一下源码。 权限注解的源码分析 这个类实现了 接口,当 读取所有的Bean配置信息后,这个类将扫描上下文,寻找所有的 (一个 是一个 ...
分类:
其他好文 时间:
2019-08-20 18:24:43
阅读次数:
95
Description 如果某个无向连通图的任意一条边至多只出现在一条简单回路(simple cycle)里,我们就称这张图为仙人掌 图(cactus)。所谓简单回路就是指在图上不重复经过任何一个顶点的回路。 举例来说,上面的第一个例子是一张仙人图,而第二个不是——注意到它有三条简单回路:(4,3, ...
分类:
其他好文 时间:
2019-08-17 10:52:26
阅读次数:
84
题目链接:https://leetcode-cn.com/problems/linked-list-cycle/ 给定一个链表,判断链表中是否有环。 为了表示给定链表中的环,我们使用整数 pos 来表示链表尾连接到链表中的位置(索引从 0 开始)。 如果 pos 是 -1,则在该链表中没有环。 示例 ...
分类:
其他好文 时间:
2019-08-16 23:20:17
阅读次数:
197
160. Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linked lists begins. For example, the f ...
分类:
Web程序 时间:
2019-08-11 21:31:42
阅读次数:
105
1122 Hamiltonian Cycle (25 分) 1122 Hamiltonian Cycle (25 分) 1122 Hamiltonian Cycle (25 分) The "Hamilton cycle problem" is to find a simple cycle that ...
分类:
其他好文 时间:
2019-08-09 13:46:46
阅读次数:
63
前言 集合的作用就是以一定的方式组织、存储数据。 分析集合,有四点要特别注意: 1. 是否线程安全 2. 是否允许存储 null 3. 是否允许存储重复数据 4. 是否有序,有序的意思是读取数据的顺序和存放数据的顺序一致。 ArrayList 基本结构 首先我们来看一下 ArrayList 在 Co ...
分类:
其他好文 时间:
2019-08-04 13:51:32
阅读次数:
134
Status Motivation Public Interfaces Proposed Changes Remote Topics, Partitions Aggregation Cycle detection Config, ACL Sync Internal Topics Remote Clu ...
分类:
其他好文 时间:
2019-08-01 14:36:58
阅读次数:
117
Why Go? – Key advantages you may have overlooked yourbasic.org/golang Go makes it easier (than Java or Python) to write correct, clear and efficient c ...
分类:
其他好文 时间:
2019-08-01 00:10:58
阅读次数:
164