E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
MISC刷题笔记
力扣
刷题笔记
丨算法数据结构--查找算法--剑指 Offer 53 - I. 在排序数组中查找数字 I
1题目分析统计一个数字在排序数组中出现的次数。图解算法数据结构-LeetBook-力扣(LeetCode)全球极客挚爱的技术成长平台(leetcode-cn.com)思路一:只需要遍历一遍即可,非常简单;思路二:考虑到nums是非递减数组,可采用二分查找法2代码实现思路一:classSolution{public:intsearch(vector&nums,inttarget){intcount=
小星code
·
2024-02-19 22:35
数据结构刷题集
算法
leetcode
数据结构
HGAME 2024 WEEK1 WP
WEBezHTTPBypassitSelectCourses2048*16jhatREezASMezPYCezUPXezIDAPWNEzSignInCRYPTO奇怪的图片ezRSAezMathezPRNG
MISC
SignIn
是Mumuzi
·
2024-02-19 19:01
ctf
信息安全
随想录
刷题笔记
—二叉树篇7 617合并二叉树 700二叉搜索树中的搜索 98验证二叉搜索树
617合并二叉树递归:如果root1和root2其中有一个为空,则将另一个的结点直接赋值即可——将该节点和子树都直接赋值过去了。如果都不是空,就需要重新建立一个结点再进入递归。classSolution{publicTreeNodemergeTrees(TreeNoderoot1,TreeNoderoot2){if(root1==null){returnroot2;}if(root2==null)
XWHQQ7426
·
2024-02-19 18:12
随想录刷题
笔记
算法
数据结构
java
leetcode
R语言画相关性热图
R语言进行聚类热图install.packages("corrplot2")install.packages("H
misc
")install.packages("pheatmap")library(H
misc
还没秃头的程序猿-D
·
2024-02-19 14:02
研究牲
r语言
开发语言
K8S kubelet无法启动
misc
onfiguration: kubelet cgroup driver: “cgroupfs“
解决方案:#vim/etc/docker/daemon.json把native.cgroupdriver=systemd修改成native.cgroupdriver=cgroupfs"exec-opts":["native.cgroupdriver=cgroupfs"],然后systemctldaemon-reloadsystemctlrestartkubeletsystemctlstatusku
xcagy
·
2024-02-19 13:36
K8S
一文看懂YOLO v1
ops_request_
misc
=&request_id=&biz_id=102&utm_term=YOLO&utm_medium=distribute.pc_search_result.none-task-blog
AsherQ
·
2024-02-19 12:34
UE5中的DataTable说明
创建DataTable在编辑器中创建在文件夹空白处右击,选择
Misc
ellaneous/DataTable,如图:使用代码创建//创建DataTable实例UDataTable*MyDataTable=
ttod_qzstudio
·
2024-02-19 11:20
Unreal
UC++
UE5
【C++】 为什么多继承子类重写的父类的虚函数地址不同?『 多态调用汇编剖析』
樊梓慕:个人主页个人专栏:《C语言》《数据结构》《蓝桥杯试题》《LeetCode
刷题笔记
》《实训项目》《C++》《Linux》《算法》每一个不曾起舞的日子,都是对生命的辜负前言本篇文章主要是为了解答有关多态的那篇文章那块的一个奇怪现象
樊梓慕
·
2024-02-19 10:58
C++
汇编
c++
开发语言
【算法】基础算法002之滑动窗口(一)
樊梓慕:个人主页个人专栏:《C语言》《数据结构》《蓝桥杯试题》《LeetCode
刷题笔记
》《实训项目》《C++》《Linux》《算法》每一个不曾起舞的日子,都是对生命的辜负目录前言1.长度最小的子数组滑动窗口类问题解题思路大纲
樊梓慕
·
2024-02-19 10:47
算法
算法
c++
代码随想录
刷题笔记
DAY 25 | 组合问题 No.77 | 组合求和III No.216 | 电话号码的字母组合 No.17
文章目录Day2501.组合问题(No.77)2.1题目2.2笔记2.3代码02.组合求和III(No.216)2.1题目2.2笔记2.3代码03.电话号码的字母组合(No.17)3.1题目3.2笔记3.3代码3.4补充Day2501.组合问题(No.77)2.1题目给定两个整数n和k,返回范围[1,n]中所有可能的k个数的组合。你可以按任何顺序返回答案。示例1:输入:n=4,k=2输出:[[2,
*Soo_Young*
·
2024-02-15 05:27
代码随想录
笔记
算法
java
学习
代码随想录
刷题笔记
DAY 26 | 组合总和 No.39 | 组合求和 II No.40 | 分割回文串 No.131
文章目录Day2501.组合总和(No.39)1.1题目1.2笔记1.3代码02.组合求和II(No.40)2.1题目2.2笔记2.3代码03.分割回文串(No.131)3.1题目3.2笔记3.3代码Day2501.组合总和(No.39)题目链接代码随想录题解1.1题目给你一个无重复元素的整数数组candidates和一个目标整数target,找出candidates中可以使数字和为目标数targ
*Soo_Young*
·
2024-02-15 05:57
代码随想录
笔记
leetcode
刷题笔记
(Golang)--62. Unique Paths
62.UniquePathsArobotislocatedatthetop-leftcornerofamxngrid(marked‘Start’inthediagrambelow).Therobotcanonlymoveeitherdownorrightatanypointintime.Therobotistryingtoreachthebottom-rightcornerofthegrid(ma
圆滚滚coder
·
2024-02-15 04:32
go
算法
leetcode
LeetCode
刷题笔记
--62. Unique Paths
62.UniquePathsMedium1473104FavoriteShareArobotislocatedatthetop-leftcornerofamxngrid(marked'Start'inthediagrambelow).Therobotcanonlymoveeitherdownorrightatanypointintime.Therobotistryingtoreachthebott
vivian0239
·
2024-02-15 04:02
类加载机制(2)类加载器源码解析
ExtensionClassLoader扩展类加载器3、ApplicationClassLoader应用类加载器4、CustomClassLoader自定义类加载器5、线程上下文类加载器二、java虚拟机入口应用:sun.
misc
.Launcher1
飞奔的口罩
·
2024-02-14 22:22
4、51单片机——LCD1602 驱动(郭天祥)
ops_request_
misc
=%257B%2522request%255Fid%2522%253A%2522164058990116780265448908%
xiebs_
·
2024-02-14 09:37
51
单片机
【华为机试
刷题笔记
】HJ36-字符串加密
题目描述有一种技巧可以对数据进行加密,它使用一个单词作为它的密匙。下面是它的工作原理:首先,选择一个单词作为密匙,如TRAILBLAZERS。如果单词中包含有重复的字母,只保留第1个,将所得结果作为新字母表开头,并将新建立的字母表中未出现的字母按照正常字母表顺序加入新字母表。如下所示:ABCDEFGHIJKLMNOPQRSTUVWXYZTRAILBZESCDFGHJKMNOPQUVWXY(实际需建
IceSugarJJ
·
2024-02-14 06:47
快乐刷题每一天之华为机试103
javascript
算法
前端
开发语言
Verilog
刷题笔记
29
题目:Createa100-bitbinaryripple-carryadderbyinstantiating100fulladders.Theadderaddstwo100-bitnumbersandacarry-intoproducea100-bitsumandcarryout.Toencourageyoutoactuallyinstantiatefulladders,alsooutputth
十六追梦记
·
2024-02-13 15:39
笔记
Verilog
刷题笔记
8
题目:Thisproblemissimilartothepreviousone(module).Youaregivenamodulenamedthathas2outputsand4inputs,inthatorder.Youmustconnectthe6portsbypositiontoyourtop-levelmodule’sports,,,,,and,inthatorder.mod_aout1
十六追梦记
·
2024-02-13 15:08
笔记
Verilog
刷题笔记
9
题目:Thisproblemissimilartomodule.Youaregivenamodulenamedthathas2outputsand4inputs,insomeorder.Youmustconnectthe6portsbynametoyourtop-levelmodule’sports:mod_a我的解法:moduletop_module(inputa,inputb,inputc,i
十六追梦记
·
2024-02-13 15:08
笔记
Verilog
刷题笔记
10
题目:Youaregivenamodulewithtwoinputsandoneoutput(thatimplementsaDflip-flop).Instantiatethreeofthem,thenchainthemtogethertomakeashiftregisteroflength3.Theportneedstobeconnectedtoallinstances.my_dffclkThe
十六追梦记
·
2024-02-13 15:08
笔记
fpga开发
Verilog
刷题笔记
24
题目:Veriloghasaternaryconditionaloperator(?:)muchlikeC:(condition?if_true:if_false)Thiscanbeusedtochooseoneoftwovaluesbasedoncondition(amux!)ononeline,withoutusinganif-theninsideacombinationalalwaysblo
十六追梦记
·
2024-02-13 15:08
笔记
Verilog
刷题笔记
2
题目:Buildacombinationalcircuitwithfourinputs,in[3:0].Thereare3outputs:out_and:outputofa4-inputANDgate.out_or:outputofa4-inputORgate.out_xor:outputofa4-inputXORgate.ToreviewtheAND,OR,andXORoperators,see
十六追梦记
·
2024-02-13 15:38
笔记
Verilog
刷题笔记
3
题目:ABitofPracticeGivenseveralinputvectors,concatenatethemtogetherthensplitthemupintoseveraloutputvectors.Therearesix5-bitinputvectors:a,b,c,d,e,andf,foratotalof30bitsofinput.Therearefour8-bitoutputvec
十六追梦记
·
2024-02-13 15:38
笔记
Verilog
刷题笔记
5
题目:ABitofPracticeOnecommonplacetoseeareplicationoperatoriswhensign-extendingasmallernumbertoalargerone,whilepreservingitssignedvalue.Thisisdonebyreplicatingthesignbit(themostsignificantbit)ofthesmalle
十六追梦记
·
2024-02-13 15:38
笔记
verilog
刷题笔记
002
对于HDLBitsExams/ece2412013q4题标答是从有限状态机入手,分析电路状态的转换以及输出与状态的关系,然后写出驱动方程和状态方程并以此编写描述语言,代码如下:moduletop_module(inputclk,inputreset,input[3:1]s,outputregfr3,outputregfr2,outputregfr1,outputregdfr);//Givestat
xiaobaibaizzf
·
2024-02-13 15:08
fpga开发
verilog
刷题笔记
007
Fsmhdlc题状态转换图moduletop_module(inputclk,inputreset,//Synchronousresetinputin,outputdisc,outputflag,outputerr);reg[3:0]state;reg[3:0]next_state;always@(*)begincase(state)0:next_state=in?1:0;1:next_state
xiaobaibaizzf
·
2024-02-13 15:08
fpga开发
verilog
刷题笔记
veriloglanguageAdder100i(100位加法器)moduletop_module(input[99:0]a,b,inputcin,output[99:0]cout,output[99:0]sum);always@(*)beginsum[0]=a[0]^b[0]^cin;cout[0]=a[0]&b[0]|a[0]&cin|b[0]&cin;for(inti=1;i<100;i++
Susiekejia
·
2024-02-13 15:08
fpga开发
Verilog
刷题笔记
30
题目:YouareprovidedwithaBCDone-digitaddernamedbcd_faddthataddstwoBCDdigitsandcarry-in,andproducesasumandcarry-out.解题:moduletop_module(input[399:0]a,b,inputcin,outputcout,output[399:0]sum);reg[99:0]cined
十六追梦记
·
2024-02-13 15:37
笔记
HDLBits_Verilog
刷题笔记
Verilog Language Basics(一)
前言这个
刷题笔记
是给自己复习巩固用的,包括自己在刷题的时候遇到的问题,思考,以及看了一些大佬的笔记和答案进行整理和扩充。
cascleright1
·
2024-02-13 15:37
fpga开发
硬件架构
代码随想录
刷题笔记
DAY 23 | 修剪二叉搜索树 No.669 | 将有序数组转换为二叉搜索树 No.108 | 把二叉搜索树转换为累加树 No.538
文章目录Day2301.修剪二叉搜索树(No.669)1.1题目1.2笔记1.3代码02.将有序数组转换为二叉搜索树(No.108)2.1题目2.2笔记2.3代码03.把二叉搜索树转换为累加树(No.538)3.1题目3.2笔记3.3代码Day2301.修剪二叉搜索树(No.669)题目链接代码随想录题解1.1题目给你二叉搜索树的根节点root,同时给定最小边界low和最大边界high。通过修剪二
*Soo_Young*
·
2024-02-13 04:41
代码随想录
算法
java
代码随想录
刷题笔记
DAY 24 | 回溯算法理论基础 | 组合问题 No. 77
文章目录Day2401.回溯算法理论基础1.1什么是回溯法?1.2为什么要使用回溯法?1.3如何理解回溯法?02.组合问题(No.77)2.1题目2.2笔记2.3代码Day2401.回溯算法理论基础1.1什么是回溯法?递归函数的下面就是回溯的逻辑(有递归就有回溯)递归函数的后面位置其实就是平时提到的后序位置也就是当前这个节点做完所有的操作返回上一个节点的时候,这时候对这个节点可以通过某些逻辑做回溯
*Soo_Young*
·
2024-02-13 04:41
代码随想录
笔记
算法
Hexo+Icarus3+live2d给博客添加看板娘
添加看板娘的教程但是版本是标签然后插入这行修改后完整的head.jsxconst{Component}=require('inferno');constMetaTags=require('hexo-component-inferno/lib/view/
misc
Mr__joe
·
2024-02-11 18:30
Hadoop运行环境搭建
,硬盘50G,安装必要环境,为安装hadoop做准备[root@hadoop100~]#yuminstall-yepel-release[root@hadoop100~]#yuminstall-yps
misc
ncnet-toolsrsyncvimlrzszntplibzstdopenssl-stat
nucty
·
2024-02-11 18:53
大数据
hadoop
大数据
2022第八届美亚杯团体赛
ops_request_
misc
=%257B%2522request%255Fid%2522%
Tummyiii
·
2024-02-11 09:14
网络
python
visual
studio
php
代码随想录
刷题笔记
DAY 22 | 二叉搜索树的最近公共祖先 No.235 | 二叉搜索树中的插入操作 No.701 | 删除二叉搜索树中的节点 No.450
文章目录Day2201.二叉搜索树的最近公共祖先(No.235)1.1题目1.2笔记1.3代码02.二叉搜索树中的插入操作(No.701)2.1题目2.2笔记2.3代码03.删除二叉搜索树中的节点(No.450)3.1题目3.2代码3.3代码Day2201.二叉搜索树的最近公共祖先(No.235)题目链接代码随想录题解1.1题目给定一个二叉搜索树,找到该树中两个指定节点的最近公共祖先。百度百科中最
*Soo_Young*
·
2024-02-11 06:06
代码随想录
学习
算法
2023全国大学生信息安全竞赛(ciscn)初赛题解
文章目录战队信息安全知识
Misc
签到卡国粹被加密的生产流量pyshellWebunzipdumpitCyrpto基于国密SM2算法的密钥密文分发可信度量Sign_in_passwdPwn烧烤摊儿funcanaryShellWeGoReezbytebabyRE
Real返璞归真
·
2024-02-10 21:59
CTF
网络安全
CTF
CTF竞赛
java signal handler_【java】Singal和SingalHandler用法 | 学步园
importsun.
misc
.Signal;importsun.
misc
.SignalHandler;publicclassSignalHandlerExampleimplementsSignalHandler
桑夷
·
2024-02-10 17:51
java
signal
handler
刷题笔记
:LeetCode28-KMP模式匹配算法拾遗(Java)
先上题目。1.题目描述实现strStr()函数。给定一个haystack字符串和一个needle字符串,在haystack字符串中找出needle字符串出现的第一个位置(从0开始)。如果不存在,则返回-1。示例1:输入:haystack="hello",needle="ll"输出:2示例2:输入:haystack="aaaaa",needle="bba"输出:-1说明:当needle是空字符串时,
mckl
·
2024-02-10 14:49
笔记
算法
leetcode
java
数据结构
刷题笔记
:LeetCode15-经典三数和的Hash写法
三数和旧题新作Hash法(Java)先上题目。1.题目描述给你一个包含n个整数的数组nums,判断nums中是否存在三个元素a,b,c,使得a+b+c=0?请你找出所有满足条件且不重复的三元组。注意:答案中不可以包含重复的三元组。示例:给定数组nums=[-1,0,1,2,-1,-4],满足要求的三元组集合为:[[-1,0,1],[-1,-1,2]]2.解题思路传统双指针解法这里不再赘述,其时间复
mckl
·
2024-02-10 14:49
笔记
哈希算法
算法
leetcode
散列表
java
CTFshow 5——23
借鉴博客
misc
5下载完后,用winhex打开在最后就可以找到flag
misc
6和
misc
5一样(推测:可能是jpg这种看得见的图片,用winhex)
misc
7
misc
8前置工具安装这里可以看看见两个png
_Nickname
·
2024-02-10 13:14
linux
运维
服务器
ctfshow
misc
入门
misc
24-31
misc
242-6修改图片高度为EE
misc
25用tweakpng打开发现校验码错误2-7修改图片下面长度,直接拉到最大
misc
26我直接开到最大,有了这些代码出处importosimportbinasciiimportstructcrcbp
_Nickname
·
2024-02-10 13:14
网络安全
python
摩根弗里曼被指责性侵
USfilmstarMorganFreemanhasapologisedfollowingallegationsofsexual
misc
onductmadebyeightwomenandseveralotherpeople.OneproductionassistantaccusedFreemanofharassingherformonthsduringfilmingofbankrobberycom
我以为的顿悟
·
2024-02-10 07:27
嵌入式开发之交叉编译工具链制作
crosstool-ng源码,进行安装4.2`ct-nglist-samples`4.3`ct-ngarm-cortex_a8-linux-gnueabi`4.4`ct-ngmenuconfig`4.4.1Pathsand
misc
options4
samxfb
·
2024-02-10 06:10
linux
嵌入式
linux
交叉编译
arm
Leetcode
刷题笔记
题解(C++):面试题 08.07. 无重复字符串的排列组合
思路:因为字符之间互不相同,故使用全排列的方式去解题;字符串长度为n,将第一个字母分别与后面每一个字母进行交换,生成n种不同的全排列;再用第二个元素与后面每一个元素进行交换,生成n-1种不同的全排列……classSolution{public://存放结果vectorres;vectorpermutation(stringS){//进行深度遍历dfs(S,0);returnres;}voiddfs
Demo.demo
·
2024-02-10 02:13
Leetcode算法题解
leetcode
笔记
c++
【 buuctf--刷新过的图片】
用binwalk,stegsolve,zsteg,exiftool等工具无果后,注意到题目说到刷新图片的问题,看了大佬的wp[BUUCTF
misc
]刷新过的图片_buuctf刷新过的图片-CSDN博客,
HeiOs.
·
2024-02-09 17:38
CTF
Verilog
刷题笔记
25
题目:You’realreadyfamiliarwithbitwiseoperationsbetweentwovalues,e.g.,a&bora^b.Sometimes,youwanttocreateawidegatethatoperatesonallofthebitsofonevector,like(a[0]&a[1]&a[2]&a[3]…),whichgetstediousifthevect
十六追梦记
·
2024-02-09 13:31
笔记
Verilog
刷题笔记
27
题目:Givena100-bitinputvector[99:0],reverseitsbitordering.解题:moduletop_module(input[99:0]in,output[99:0]out);inti;always@(*)beginfor(i=0;i<100;i++)out[i]=in[99-i];endendmodule结果正确:
十六追梦记
·
2024-02-09 13:31
笔记
Verilog
刷题笔记
28
题目:A“populationcount”circuitcountsthenumberof'1’sinaninputvector.Buildapopulationcountcircuitfora255-bitinputvector.解题:moduletop_module(input[254:0]in,output[7:0]out);inti;always@(*)beginout=8'b0;for(
十六追梦记
·
2024-02-09 13:31
笔记
Verilog
刷题笔记
26
题目:Buildacombinationalcircuitwith100inputs,in[99:0].Thereare3outputs:out_and:outputofa100-inputANDgate.out_or:outputofa100-inputORgate.out_xor:outputofa100-inputXORgate.解题:moduletop_module(input[99:0]
十六追梦记
·
2024-02-09 13:01
笔记
File与base64的相互转换的工具类
importcom.itextpdf.text.pdf.codec.Base64;importlombok.extern.slf4j.Slf4j;importorg.springframework.util.ResourceUtils;importsun.
misc
.BASE64Decoder
cqwuliu
·
2024-02-09 11:22
文件上传ftp
File处理工具
jAVA工具
java
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他