最近在LeekCode用java写一些算法时,经常遇到要使用栈和队列结构,使用栈的话,Stack已经不被推荐使用了,所以栈和队列我们通常都是用LinkedList这种双链表结构实现。Linkedlist是一个双向链表,操作起来非常方便,java也封装了很多的方法在这个双向链表里面。 题目:使用栈,L ...
分类:
其他好文 时间:
2021-05-24 10:25:56
阅读次数:
0
ConfigureAppConfiguration((hostingContext, config) => { config.AddCryptoFile(Path.Combine(AppContext.BaseDirectory, "appsettings.json.crypto"), true); ...
分类:
Web程序 时间:
2021-05-24 10:20:52
阅读次数:
0
title: ①解决字符串的翻转 ②堆和栈的区别? >>> class Stack: def __init__(self): self.item = [] def isEmpty(self): return len(self.item)==0 def push(self,item): self.it ...
分类:
编程语言 时间:
2021-05-24 09:57:27
阅读次数:
0
1、解析 QFile file(ui->comboBox->currentText()); //打开文件 bool isOK = file.open(QIODevice::ReadOnly | QIODevice::Text); if(isOK){ QXmlStreamReader reader(& ...
分类:
其他好文 时间:
2021-05-24 09:30:13
阅读次数:
0
一、精简的Linux系统概念模型概述 操作系统是管理计算机硬件与软件资源的计算机程序一般由内核、shell 和应用程序组成。核心是内核,控制着计算机系统上的所有硬件和软件,在必要时分配硬件,并根据需要执行软件。内核主要负责进程管理、内存管理、文件系统等。 ? 进程管理模块主要是对进程使用的处理机进行 ...
分类:
其他好文 时间:
2021-05-24 09:25:02
阅读次数:
0
写入文件的基本操作 f = open('01.txt',mode='a') f.write("\nhelloworld\n") import time def get_time(): return time.strftime('%Y_%m_%d-%H_%M') # TODO 创建一个文件,文件名为当 ...
分类:
其他好文 时间:
2021-05-24 09:05:40
阅读次数:
0
安装应用开发工具包(SDK),提供了两种工具包 基于qt5图形库的系统,包含qt5.11相关的开发库 基于Weston窗体系统,包含gtk图形库开发应用 验证开发工具是否安装正确 1 source /opt/st/i2cmp15xbe-i2som-image-qt/2.6-snapshot/envi ...
分类:
其他好文 时间:
2021-05-24 08:46:24
阅读次数:
0
tomcat简介 Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache、Sun 和其他一些公司及个人共同开发而成。由于有了Sun 的参与和支持,最新的Servlet 和JSP 规范总是能在Tomcat 中 ...
分类:
其他好文 时间:
2021-05-24 08:41:40
阅读次数:
0
扫描以下常见未授权访问 redis、mongodb、memcached、elasticsearch、zookeeper、ftp、CouchDB、docker、Hadoop 安装 pip3 install -r requirements.txt -i https://mirrors.aliyun.co ...
分类:
其他好文 时间:
2021-05-24 08:32:18
阅读次数:
0
1 #include<stdio.h> 2 #include<iostream> 3 #include<fcntl.h> 4 #include<sys/types.h> 5 #include<sys/stat.h> 6 #include<vector> 7 #include <unistd.h> 8 ...
分类:
其他好文 时间:
2021-05-24 07:50:30
阅读次数:
0