栈(Stack) 队列(Queue) 线性表 链表 先进后出 先进先出 top (front,rear) (data,link) (prior,next) | 只能在表的一端进行插入和删除操作的线性表 | 只能在表的一端进行插入和在另一端进行删除操作的线性表 |允许在表内任一位置进行插入和删除|| ...
分类:
其他好文 时间:
2020-07-01 14:17:53
阅读次数:
74
一. 算法思想 二. 代码实现 eg: [ ( [ ] [ ] ) ] 1.栈的括号匹配算法 int MatchBracket()//栈的括号匹配算法 { Stack S=InitStack(); ElemType ch; char arr[8]={'[','(','[',']','[',']',' ...
分类:
其他好文 时间:
2020-07-01 12:46:40
阅读次数:
59
定义一个 SqlIntercepor 类 import com.culturalCenter.placeManage.globalConfig.Interface.InterceptAnnotation; import org.apache.ibatis.executor.statement.Sta ...
分类:
数据库 时间:
2020-07-01 12:25:57
阅读次数:
153
JavaScript 并非绝对化的面向对象的语言,里面也有很多非结构化和结构化的数据。赋值语句并不能复制结构化的数据对象。 例如: var S1 = []var A = obj(), var B = obj();Stack.push(A);Stack.push(B);Var S2 = []S2 = ...
分类:
编程语言 时间:
2020-07-01 09:35:18
阅读次数:
123
Java线程池 基本概念 特点: 管理线程,避免增加和销毁线程的资源消耗。 提高响应速度。任务到达无需等待线程创建即可立即执行。 重复利用。 避免了线程数量膨胀导致的过分调度问题。 提供更多功能。可以添加更多功能,如延时定时线程池等。 线程池核心设计与实现 线程池的实现类为ThreadPoolExe ...
分类:
编程语言 时间:
2020-07-01 09:30:08
阅读次数:
59
一、Collection接口 1、List接口 ,Set接口 2、ArrayLIst,LinkedList,Vector,Stack 3、HashSet,LInkedHashSet,TreeSet 二、Map接口 1、HashMap,LinkedHashMap,TreeMap; 三、Iterator ...
分类:
编程语言 时间:
2020-07-01 09:21:03
阅读次数:
72
栈-先进后出 class Stack(): def __init__(self): self.items = [] def push(self,item): self.items.append(item) def pop(self): return self.items.pop() def peek ...
分类:
编程语言 时间:
2020-07-01 00:22:01
阅读次数:
98
1、pom文件添加: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>tru ...
分类:
编程语言 时间:
2020-06-30 23:01:10
阅读次数:
107
public class Parentheses { public static void main(String[] args) { Stack<String> s = new Stack<>(); String string = StdIn.readString(); String[] inpu ...
分类:
编程语言 时间:
2020-06-30 20:58:47
阅读次数:
52
selenium处理iframe - 如果定位的标签存在于iframe标签之中,则必须使用switch_to.frame(id) - 动作链(拖动):from selenium.webdriver import ActionChains - 实例化一个动作链对象:action = ActionCha ...
分类:
其他好文 时间:
2020-06-30 20:46:57
阅读次数:
64