对比学习笔记
数据结构和算法
基础概念
数据类型
专题
编程语言对比学习笔记,不定期更新。 大部分从网上摘录,不合适请联系删除。
目录
数据结构和算法
数据结构
图
[go]
链表
[go, rust]
队列
[go]
树
[go]
斐波那契数列
[c, go, python]
力扣
1.两数相加
[go]
11.盛最多水的容器
[go]
19. 删除链表的倒数第N个节点
[go]
2.两数之和
[go]
3.无重复字符的最长子串
[go]
6.回文数
[go]
9.Z 字形变换
[go]
排序
冒泡排序
[go, js]
计数排序
[go, js]
插入排序
[go, js]
归并排序
[go, js]
快速排序
[go]
选择排序
[go]
希尔排序
[go]
基础概念
[dart, go, js, rust]
断言
[c]
内置函数
[js, python]
注释
[dart, go, python, rust]
编译
[c]
条件编译
[c, go, rust]
常量
[dart, go, python]
错误处理
[go, rust]
操作符
[dart, js, python]
文件操作
[c]
循环
[dart, go, python, rust]
break循环
[dart, js, python]
range循环
[go, python]
while循环
[dart]
格式化
[dart, go, rust]
函数和方法
[c, go, rust]
闭包
[go, rust]
递归
[go]
变参函数
[go]
跳转
[go]
HelloWord
[b, c, dart, go, java, js, python, rust]
流程控制
[dart, go, python]
安装
[dart, go]
输入输出(IO)
[c]
保留关键字
[go]
库/包/模块
[c, dart, go, js, python, rust]
项目结构
[dart, go, js, python, rust]
包管理
[dart, python, rust]
生命周期/作用域
[rust]
宏
[c, rust]
内存管理
[c]
特殊语法
[go, python]
模式和匹配
[rust]
打印
[c, dart, go, js, python]
作用域
[go]
变量说明符
[c]
条件选择
[dart, go, rust]
时间处理
定时器
[go]
打点器
[go]
不安全
[rust]
变量
[dart, go, js]
数据类型
[c, rust]
数组/列表/切片
[c, dart, go, js, python, rust]
迭代器
[rust]
列表查找
[dart, js, python]
列表排序
[dart, go, js, python]
切片操作
[go, js, python, rust]
向量
[rust]
信道
[go]
信道选择
[go]
数据类型转换
[c, dart, go, js, python, rust]
枚举
[c, rust]
接口/特征(interface/trait)
[go, rust]
哈希表/字典
[dart, go, js, python, rust]
数值
最大值和最小值
[dart, js, python]
数值常量
[dart, js]
随机数
[dart, js, python]
对象
[dart, js]
Symbol
[dart, js]
指针
[c, go, rust]
集合
[dart, js, python]
字符串
[c, dart, go, js, python, rust]
字符串拼接
[go]
格式化输出
[go, js, python]
字符串替换
[dart, js, python]
字符串查找
[dart, go, js, python]
字符串切割截取
[dart, js, python]
文本模板
[go]
字符串大小写
[js, python]
结构体
[c, go, rust]
元组
[python, rust]
数据类型判断
[dart, go, js, python]
检查两个引用是否指向同一个对象(内存地址)
[dart, js]
深度比较
[go]
自定义数据类型
[c, go]
Unicode
[c]
专题
命令行程序
[c]
并发编程
[rust]
原子计数器
[go]
通道(channel)
[rust]
并发模式
并发的安全退出
[go]
素数筛
[go]
发布订阅模型
[go]
互斥锁
[go, rust]
线程
[rust]
等待协程
[go]
工作池
[go]
语言交互接口
[go]
函数式编程
Decoraton 修饰器(装饰器)
[go]
Options 配置选项
[go]
Pipeline 流式处理
[go]
Visitor 模式
[go]
泛型
[go, rust]
反转控制
[go]
面向对象
[rust]
代码生成模板
[go]
自动化测试
[go, rust]
WebAssembly
[go, rust]
v0.1.0
github