栈(Stack)的特性是先进后出.即是First In Last Out.栈也是在一端进行操作的. 先进入栈的元素是最后出来的.比如说,我们使用的浏览器进行标签后退操作时,首先返回的是上一个就近的标签. 栈的特性是 反转次序 ,也就是First In Last Out. 有关于Stack的可视化数据 ...
分类:
编程语言 时间:
2019-12-17 13:36:28
阅读次数:
116
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai ...
分类:
其他好文 时间:
2019-12-17 13:32:55
阅读次数:
80
链接: https://codeforces.com/contest/1263/problem/A 题意: You have three piles of candies: red, green and blue candies: the first pile contains only red c ...
分类:
其他好文 时间:
2019-12-17 13:20:32
阅读次数:
69
1.创建CA证书 2.生成节点使用的证书 官方地址:https://www.elastic.co/guide/en/elasticsearch/reference/master/encrypting communications certificates.html https://www.elast ...
分类:
其他好文 时间:
2019-12-17 11:57:04
阅读次数:
157
暂时记录,改天再整理 一些参考链接: 1.https://code.activestate.com/recipes/279003-converting-word-documents-to-text/ 2.https://stackoverflow.com/questions/1468099/pyth ...
分类:
其他好文 时间:
2019-12-17 01:00:32
阅读次数:
101
Spring介绍 Spring是一个分层的JavaSE/EE full-stack(一站式)轻量级开元框架 一站式:有EE开发的每一层解决方案 WEB层:SpringMVC Service层:Spring的Bean管理,Spring声明式事务 DAO层:Spring的JDBC模板,Spring的OR ...
分类:
编程语言 时间:
2019-12-16 22:06:55
阅读次数:
93
以下解决方法在此url中:https://stackoverflow.com/questions/21944936/error-1045-28000-access-denied-for-user-rootlocalhost-using-password-y 当使用 mysql -uroot -p 时 ...
分类:
数据库 时间:
2019-12-16 12:56:11
阅读次数:
73
ELK 官网: https://www.elastic.co/cn/what-is/elk-stack 前提:关闭防火墙,关闭selinux systemctl stop firewalld setenforce 0 系统优化: 1 2 3 4 5 [root@node1 ~]# cat /etc/ ...
分类:
其他好文 时间:
2019-12-16 09:25:47
阅读次数:
94
前言: 本文分为三个章节,第一个章节主要是翻译总结汇总一位国外的老兄在Stack Overflow上的回答,但实际上Linux发展这么多年,文中的知识点已经过时且不准确了, 在第二章中通过实验,有更加准确的描述。但是,第一章节也不是全然无用,至少在了解SO_REUSEPORT和SO_REUSEADD ...
分类:
其他好文 时间:
2019-12-15 23:55:35
阅读次数:
185
前言: 有序列表,允许存放重复的元素;实现类: ArrayList:数组实现,查询快,增删慢,轻量级;(线程不安全) LinkedList:双向链表实现,增删快,查询慢 (线程不安全) Vector:数组实现,重量级 (线程安全、使用少) Stack:对象栈,遵循先进后出的原则。 一、ArrayLi ...
分类:
编程语言 时间:
2019-12-15 21:48:38
阅读次数:
88