当前位置:网站首页>Sorting also needs to know the information and linked list
Sorting also needs to know the information and linked list
2022-07-25 17:51:00 【Miaomiao boss】


Quick sort
Heap sort
Hashtable
Think that their additions, deletions, modifications and checks are constant time 
If the hash table is a basic type , direct copy One copy , Is passed by value
If the hash table is not the basic type (node), Directly stored memory address ( All in accordance with 8 Byte processing )
Ordered list
JAVA treeset treemap
be-all key Are organized in an orderly way , Since they are ordered tables, they all support order 
Ordered table is O(logn)


Single linked list and double linked list

Whether the linked list needs to be changed , The return value needs to pass the header node to that value ( Functions need to be designed with node The return value of the function )
leecode Corresponding topic 408

Judge whether a linked list is palindrome data
边栏推荐
- EDI 对接CommerceHub OrderStream
- [vscode] support argparser/ accept command line parameters
- Mock service Moco series (I) - introduction, first demo, get request, post request
- Lwip之内存与包缓冲管理
- Redis源码与设计剖析 -- 16.AOF持久化机制
- Installation steps and usage of NVM under windows10 system
- Which futures account is the best and safest
- 【硬件工程师】元器件选型都不会?
- mysql case when
- 2022/7/23
猜你喜欢

2022/7/23

Idea integrates common functions of SVN code management

【解决方案】Microsoft Edge 浏览器 出现“无法访问该页面”问题

吴恩达机器学习编程作业无法暂停pause问题解决

11. Camera and lens

Unity 贝塞尔曲线的创建

How to fix the first row title when scrolling down in Excel table / WPS table?

如何看一本书

Redis源码与设计剖析 -- 16.AOF持久化机制

Three dimensional function display of gray image
随机推荐
What is an IP SSL certificate and how to apply for it?
mysql case when
【无标题】
论文阅读_多任务学习_MMoE
对灰度图像的三维函数显示
Is it safe to open a futures account online? How to apply for a low handling fee?
Briefly describe synchronized and lock upgrade
如何看一本书
ROS learning notes (IV) ROS cannot solve rosdep init or update
我也是醉了,Eureka 延迟注册还有这个坑!
C# Linq 去重&去重求和
一篇文章了解超声波加湿器
I2C communication - sequence diagram
SVN客户端(TortoiseSVN)安装及使用说明
虚拟偶像代言产品出问题谁负责?
2022/7/23
8 年产品经验,我总结了这些持续高效研发实践经验 · 研发篇
[vscode] support argparser/ accept command line parameters
Postman快速上手
mongodb 集群及分片