当前位置:网站首页>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
边栏推荐
- About constant modifier const
- ASP. Net core 6.0 data validation based on model validation
- 把字符串转换成整数与不要二
- Notes of Teacher Li Hongyi's 2020 in-depth learning series lecture 1
- Get the solution to the slow running speed of Mengxin Xiaobai computer! ٩ ( ‘ ω‘ )و get! ٩ ( ‘ ω‘ )و
- 用VS Code搞Qt6:编译源代码与基本配置
- WPF opens external programs and activates them when needed
- Glidemodule appglidemodule and generated API details
- Process / thread synchronization mechanism
- 由斐波那契数列引述到矩阵快速幂技巧
猜你喜欢

JDBC 驱动升级到 Version 8.0.28 连接 MySQL 的踩坑记录

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

Icassp 2022 | KS transformer for multimodal emotion recognition

The kettle job implementation runs a kettle conversion task every 6S

IndexTree

Violent recursion - detailed explanation of Queen n & how to optimize with bit operation

CA certificate production practice

Application programming of communication heartbeat signal for communication abnormality judgment

The specified data is grouped and the number of repetitions is obtained in Oracle

Network Security Learning (I) virtual machine
随机推荐
Notes of Teacher Li Hongyi's 2020 in-depth learning series lecture 1
QT learning vs creating QT items shows instances where object references are not set to objects
Icassp 2022 | KS transformer for multimodal emotion recognition
DDoS attack classification
P3201 [hnoi2009] dream pudding heuristic merge
Gee - dataset introduction mcd12q1
Talk about how redis handles requests
Enterprise operation we media can't "self Hi": the content should be grounded, not advertising
买收益百分之6的理财产品,需要开户吗?
DDos攻击分类
百度网盘+Chrom插件
线段树,,
Kubernetes scheduling concept and workflow
IndexTree2D
生成式对抗网络的效果评估
[zero basis] SQL injection for PHP code audit
Is it safe to log in the securities account on the flush
Connector in C
Process / thread synchronization mechanism
认识复杂度和简单排序运算