当前位置:网站首页>Understanding complexity and simple sorting operation
Understanding complexity and simple sorting operation
2022-07-24 22:48:00 【Miaomiao boss】
Choose Sort and bubble sort
Choose sorting and put the smallest one first every time
Fake sort , Put the big one back every time , Always sort
The time complexity is o(n^2)
————————————————————————
XOR operation can be recognized as addition without carry
1)0^N=N
2)N^N=0
Satisfying the commutative law , Associative law
XOR has nothing to do with order

a,b It points to a piece of memory
Insertion sort
Need to understand stability
边栏推荐
- Is it safe to log in the securities account on the flush
- ASP. Net core 6.0 data validation based on model validation
- HLS编程入门
- P3201 [HNOI2009] 梦幻布丁 启发式合并
- 价值驱动为商业BP转型提供核心动力——业务场景下的BP实现-商业BP分享
- ODBC executes stored procedure to get return value
- ASP.NET Core 6.0 基于模型验证的数据验证
- 认识复杂度和简单排序运算
- 并查集结构
- Use kettle to read the data in Excel file and store it in MySQL
猜你喜欢

《JUC并发编程 - 高级篇》05 -共享模型之无锁 (CAS | 原子整数 | 原子引用 | 原子数组 | 字段更新器 | 原子累加器 | Unsafe类 )

先工程实践,还是先工程思想?—— 一位本科生从学oi到学开发的感悟

CA certificate production practice

线段树,,

Monotonic stack structure exercise -- cumulative sum of minimum values of subarrays

Get the solution to the slow running speed of Mengxin Xiaobai computer! ٩ ( ‘ ω‘ )و get! ٩ ( ‘ ω‘ )و

IndexTree2D

Glidemodule appglidemodule and generated API details

高阶产品如何提出有效解决方案?(1方法论+2案例+1清单)

图结构的实现,从点到边再到图
随机推荐
Network Security Learning (IV) user and group management, NTFS
How about Minsheng futures? Is it safe?
窗口内最大值或最小值的更新结构——窗口内最大值
QT learning vs creating QT items shows instances where object references are not set to objects
网上怎么炒股手机上炒股安全吗
[cloud native kubernetes] kubernetes cluster advanced resource object staterulesets
How static code analysis works
Talk about how redis handles requests
AVL tree of ordered table
用VS Code搞Qt6:编译源代码与基本配置
RichTextBox operation
Projection regularization of line point set in PCL point cloud processing (56)
Burp's thinking from tracing to counteracting
About constant modifier const
Random sampling and thinning of PCL point cloud processing randomsample (60)
RichTextBox save as picture
Gee - dataset introduction mcd12q1
激光雷达障碍物检测与追踪实战——cuda版欧式聚类
Boundary extraction of PCL point cloud processing (58)
[database learning] redis parser & single thread & Model