Skip to content

About

https://leetcode-cn.com 刷题记录

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

65 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

刷题记录

LeetCode和一些算法收集

https://leetcode-cn.com

├──src
│    ├── calculation  计算 
│    │    ├── add_number.go        n数之和
│    │    ├── to_sum.go            两数之和
│    │    ├── to_three_sum.go      三数之和去重
│    │    ├── divide.go            二数相除
│    │    ├── number_matches.go    比赛中的配对次数
│    │    └── add_two_number.go    两数相加
│    │ 
│    ├── query        查找 
│    ├── 字符串相关
│    │    ├── strstr.go             字符串匹配位置查找
│    │    ├── binary_search.go         二分查找
│    │    ├── longest_palindrome.go    最长回文子串
│    │    ├── is_valid.go              有效括号                     顶栈操作,符合了就删除顶栈
│    │    └── length_sub_string.go     无重复字符的最长子串  
│    ├── 数组相关
│    │    ├── letter_combinations.go       电话号码的字母组合         递归深搜即可
│    │    └── find_median_sorted_array.go  寻找两个有序数组的中位数
│    ├── sort         排序
│    │    ├── bubble_sort.go        冒泡排序
│    │    ├── count_sort.go         计数排序
│    │    ├── selection_sort.go     选择排序
│    │    └── quick_sort.go         快速排序 
│    │    
│    ├── refactoring  重构
│    │    └── check_receiver.go 检查接收者
│    │    
│    ├── interviews   面试题
│    │    └── min_stack.go             
│    │     
│    ├── other        其他
│    │    ├── fibonacci.go             斐波那数列
│    │    ├── prime.go                 求素数       
│    │    ├── reverse_int.go           翻转整数    
│    │    ├── max_sub_array.go         最大子序和   
│    │    └── reverse_str.go           翻转字符串   
│    │     
│    └──  structure   数据结构
│         ├── triangles.go          杨辉三角
│         ├── structure_array.go    稀疏数组
│         ├── z_convert.go          z型输出
│         └── queue_array.go        数组队列
│       
├──LICENSE
└──README.md

-- 文章收集 探索 Go1.16 io/fs 包以提高测试性能和可测试性 https://gocn.vip/topics/11740

About

https://leetcode-cn.com 刷题记录

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages