René's URL Explorer Experiment


Title: GitHub - gl-lei/algorithm: 《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo

Open Graph Title: GitHub - gl-lei/algorithm: 《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo

X Title: GitHub - gl-lei/algorithm: 《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo

Description: 《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo - gl-lei/algorithm

Open Graph Description: 《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo - gl-lei/algorithm

X Description: 《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo - gl-lei/algorithm

Opengraph URL: https://github.com/gl-lei/algorithm

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:27e52b4a-14f6-57b1-898c-f4e8fe8c7779
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB1FE:3BFB17:AC504EB:DF55338:69766FA8
html-safe-nonce8dd45c0f08dd140b8c1787e19e34aaac2ca2df17de774de8c22044e83f40d8c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUZFOjNCRkIxNzpBQzUwNEVCOkRGNTUzMzg6Njk3NjZGQTgiLCJ2aXNpdG9yX2lkIjoiNzMxODc4Mjg5MTU5MDU3ODA4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1de935de1310393ab6373f478ef365ef63ba5ac1d8217e42b5d3e5a2c16e5c37
hovercard-subject-tagrepository:176211283
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gl-lei/algorithm
twitter:imagehttps://opengraph.githubassets.com/5974f642048d11f32b846dd1b087e7a704fae24cac5a09ffeee7b8dd8640b87c/gl-lei/algorithm
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5974f642048d11f32b846dd1b087e7a704fae24cac5a09ffeee7b8dd8640b87c/gl-lei/algorithm
og:image:alt《数据结构与算法之美》学习笔记以及 Swift 代码实现 ,原始仓库 https://github.com/wangzheng0822/algo - gl-lei/algorithm
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411
turbo-cache-controlno-preview
go-importgithub.com/gl-lei/algorithm git https://github.com/gl-lei/algorithm.git
octolytics-dimension-user_id11263880
octolytics-dimension-user_logingl-lei
octolytics-dimension-repository_id176211283
octolytics-dimension-repository_nwogl-lei/algorithm
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id176211283
octolytics-dimension-repository_network_root_nwogl-lei/algorithm
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5b577f6be6482e336e3c30e8daefa30144947b17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/gl-lei/algorithm#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgl-lei%2Falgorithm
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgl-lei%2Falgorithm
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=gl-lei%2Falgorithm
Reloadhttps://patch-diff.githubusercontent.com/gl-lei/algorithm
Reloadhttps://patch-diff.githubusercontent.com/gl-lei/algorithm
Reloadhttps://patch-diff.githubusercontent.com/gl-lei/algorithm
gl-lei https://patch-diff.githubusercontent.com/gl-lei
algorithmhttps://patch-diff.githubusercontent.com/gl-lei/algorithm
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgl-lei%2Falgorithm
Fork 48 https://patch-diff.githubusercontent.com/login?return_to=%2Fgl-lei%2Falgorithm
Star 140 https://patch-diff.githubusercontent.com/login?return_to=%2Fgl-lei%2Falgorithm
https://github.com/wangzheng0822/algohttps://github.com/wangzheng0822/algo
MIT license https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LICENSE
140 stars https://patch-diff.githubusercontent.com/gl-lei/algorithm/stargazers
48 forks https://patch-diff.githubusercontent.com/gl-lei/algorithm/forks
Branches https://patch-diff.githubusercontent.com/gl-lei/algorithm/branches
Tags https://patch-diff.githubusercontent.com/gl-lei/algorithm/tags
Activity https://patch-diff.githubusercontent.com/gl-lei/algorithm/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fgl-lei%2Falgorithm
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgl-lei%2Falgorithm
Code https://patch-diff.githubusercontent.com/gl-lei/algorithm
Issues 0 https://patch-diff.githubusercontent.com/gl-lei/algorithm/issues
Pull requests 0 https://patch-diff.githubusercontent.com/gl-lei/algorithm/pulls
Discussions https://patch-diff.githubusercontent.com/gl-lei/algorithm/discussions
Actions https://patch-diff.githubusercontent.com/gl-lei/algorithm/actions
Projects 0 https://patch-diff.githubusercontent.com/gl-lei/algorithm/projects
Security 0 https://patch-diff.githubusercontent.com/gl-lei/algorithm/security
Insights https://patch-diff.githubusercontent.com/gl-lei/algorithm/pulse
Code https://patch-diff.githubusercontent.com/gl-lei/algorithm
Issues https://patch-diff.githubusercontent.com/gl-lei/algorithm/issues
Pull requests https://patch-diff.githubusercontent.com/gl-lei/algorithm/pulls
Discussions https://patch-diff.githubusercontent.com/gl-lei/algorithm/discussions
Actions https://patch-diff.githubusercontent.com/gl-lei/algorithm/actions
Projects https://patch-diff.githubusercontent.com/gl-lei/algorithm/projects
Security https://patch-diff.githubusercontent.com/gl-lei/algorithm/security
Insights https://patch-diff.githubusercontent.com/gl-lei/algorithm/pulse
Brancheshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/branches
Tagshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tags
https://patch-diff.githubusercontent.com/gl-lei/algorithm/branches
https://patch-diff.githubusercontent.com/gl-lei/algorithm/tags
145 Commitshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/commits/master/
https://patch-diff.githubusercontent.com/gl-lei/algorithm/commits/master/
Algorithmhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Algorithm
Algorithmhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Algorithm
Arrayhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Array
Arrayhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Array
Backtrackhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Backtrack
Backtrackhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Backtrack
BinarySearchhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/BinarySearch
BinarySearchhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/BinarySearch
BinaryTreehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/BinaryTree
BinaryTreehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/BinaryTree
DivideAndConquerhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/DivideAndConquer
DivideAndConquerhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/DivideAndConquer
DynamicProgramminghttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/DynamicProgramming
DynamicProgramminghttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/DynamicProgramming
Graphhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Graph
Graphhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Graph
Greedyhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Greedy
Greedyhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Greedy
HashTablehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/HashTable
HashTablehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/HashTable
Heaphttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Heap
Heaphttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Heap
Imageshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Images
Imageshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Images
LeetCodehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/LeetCode
LeetCodehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/LeetCode
LinkedListhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/LinkedList
LinkedListhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/LinkedList
Queuehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Queue
Queuehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Queue
Recursionhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Recursion
Recursionhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Recursion
SkipListhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/SkipList
SkipListhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/SkipList
Sorthttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Sort
Sorthttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Sort
Stackhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Stack
Stackhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/Stack
Stringhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/String
Stringhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/tree/master/String
.gitignorehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/.gitignore
LICENSEhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/gl-lei/algorithm
MIT licensehttps://patch-diff.githubusercontent.com/gl-lei/algorithm
https://patch-diff.githubusercontent.com/gl-lei/algorithm#algorithm
https://github.com/wangzheng0822/algohttps://github.com/wangzheng0822/algo
https://patch-diff.githubusercontent.com/gl-lei/algorithm#使用-swift-语言实现数据结构与算法之美专栏代码-在原有基础上扩增了一些内容原始代码-httpsgithubcomwangzheng0822algo
https://patch-diff.githubusercontent.com/gl-lei/algorithm#一目录结构
Algorithmhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Algorithm
https://patch-diff.githubusercontent.com/gl-lei/algorithm#源代码在第一级目录所对应的文件夹下测试工程以及测试代码在-algorithm-目录下可以直接使用-xcode-打开工程文件-algorithmxcodeproj选择对应的-target-运行测试代码
https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Images/example.jpg
https://patch-diff.githubusercontent.com/gl-lei/algorithm#二数据结构内容
https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Images/algostudyroute.jpg
https://patch-diff.githubusercontent.com/gl-lei/algorithm#数组
实现一个支持动态扩容的数组https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Array/Set.swift
实现一个大小固定的有序数组,支持动态增删改操作https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Array/Array.swift
实现两个有序数组合并为一个有序数组https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Array/MergeTwoSortedArray.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#链表
单链表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/SinglyLinkedList.swift
循环链表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/LoopLinkedList.swift
双向链表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/DoublyLinkedList.swift
实现单链表反转https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/SinglyLinkedList.swift
实现两个有序的链表合并为一个有序链表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/LinkedListFunc.swift
实现求链表的中间结点https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/SinglyLinkedList.swift
实现求链表的倒数第K个结点(快慢指针)https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/SinglyLinkedList.swift
判断链表是否有环https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/LinkedListFunc.swift
链表有环的话,求链表环的入口位置https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LinkedList/LinkedListFunc.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#栈
用数组实现一个顺序栈https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Stack/ArrayStack.swift
用链表实现一个链式栈https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Stack/LinkedListStack.swift
编程模拟实现一个浏览器的前进、后退功能https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Stack/Browser.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#队列
用数组实现一个顺序队列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Queue/ArrayQueue.swift
用链表实现一个链式队列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Queue/LinkedListQueue.swift
实现一个循环队列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Queue/LoopQueue.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#递归
编程实现斐波那契数列求值 f(n) = f(n-1) + f(n-2)https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Recursion/RecursionFunc.swift
编程实现求阶乘 n!https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Recursion/RecursionFunc.swift
编程实现一组数据集合的全排列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Recursion/RecursionFunc.swift
台阶总共多少走法问题https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Recursion/RecursionFunc.swift
递归常见问题https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Recursion/RecursionFunc.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#排序算法
冒泡排序、插入排序、希尔排序、选择排序https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Sort/BubbleInsertionSelectionFunc.swift
归并排序https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Sort/MergeSortFunc.swift
快速排序https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Sort/QuickSort.swift
桶排序、计数排序、基数排序https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Sort/LinearSort.swift
堆排序https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Heap/HeapSort.swift
编程实现O(n)时间复杂度内找到一组数据的第K大元素https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Sort/SortFunc.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#二分查找
实现一个有序数组的二分查找算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinarySearch/BinarySearch.swift
实现一个数的平方根求解,要求精确到小数点后六位https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinarySearch/SqrtFunc.swift
实现模糊二分查找算法(比如大于等于给定值的第一个元素)https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinarySearch/VagueBinarySearch.swift
实现循环有序数组查找给定值https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinarySearch/LoopSortArrayFunc.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#跳表
实现跳表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/SkipList/SkipList.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#散列表
实现一个基于链表法解决冲突问题的散列表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/HashTable/HashTable.swift
实现一个LRU缓存淘汰算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/HashTable/LRUBaseHashTable.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#二叉树
实现一个二叉查找树,并且支持插入、删除、查找操作https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinaryTree/BinarySearchTree.swift
实现查找二叉查找树中某个结点的后继、前驱结点https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinaryTree/BinarySearchTree.swift
实现二叉树的前、中、后序以及按层遍历https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/BinaryTree/BinaryTree.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#堆
实现一个小顶堆、大顶堆、优先级队列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Heap/Heap.swift
实现堆排序https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Heap/HeapSort.swift
利用优先级队列合并K个有序数组https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Heap/MergeKSortedArray.swift
求一组动态数据集合的最大Top Khttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Heap/Heap.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#图
邻接矩阵https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/MatrixGraph.swift
邻接表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/ListGraph.swift
深度优先搜索https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/MatrixGraph.swift
广度优先搜索https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/ListGraph.swift
最小生成树https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/ListGraph.swift
Dijkstrahttps://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/ListGraph.swift
Kahn 算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/TopologicalSort.swift
DFS 算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Graph/TopologicalSort.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#字符串
朴素的字符串匹配算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/String/BFRKSearch.swift
BM算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/String/BMSearch.swift
KMP算法https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/String/KMPSearch.swift
Trie树https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/String/Trie.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#贪心算法
非负整数中,移除K个数字,让剩下的数字值最小https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Greedy/Greedy.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#分治算法
求一组数据的逆序对个数https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/DivideAndConquer/DivideAndConquer.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#回溯算法
利用回溯算法求解八皇后问题https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Backtrack/Queens.swift
利用回溯算法求解0-1背包问题https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/Backtrack/Package.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#动态规划
0-1背包问题https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/DynamicProgramming/PackageDP.swift
最小路径和https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/DynamicProgramming/Chessboard.swift
编程实现莱文斯坦最短编辑距离https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/DynamicProgramming/LevenshteinDistance.swift
编程实现查找两个字符串的最长公共子序列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/DynamicProgramming/LongestCommonSubsequence.swift
编程实现一个数据序列的最长递增子序列https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/DynamicProgramming/LongestIncreasingSubsequence.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#三leetcode练习
https://patch-diff.githubusercontent.com/gl-lei/algorithm#数组和链表
三数之和https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/015-%E4%B8%89%E6%95%B0%E4%B9%8B%E5%92%8C.swift
求众数https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/169-%E5%A4%9A%E6%95%B0%E5%85%83%E7%B4%A0.swift
求缺失的第一个正数https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/041-%E7%BC%BA%E5%A4%B1%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E6%AD%A3%E6%95%B0.swift
环形链表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/141-%E7%8E%AF%E5%BD%A2%E9%93%BE%E8%A1%A8.swift
合并K个排序链表https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/023-%E5%90%88%E5%B9%B6K%E4%B8%AA%E5%8D%87%E5%BA%8F%E9%93%BE%E8%A1%A8.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#栈队列和递归
有效的括号https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/020-%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7.swift
最长有效的括号https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/032-%E6%9C%80%E9%95%BF%E6%9C%89%E6%95%88%E6%8B%AC%E5%8F%B7.swift
逆波兰表达式求值https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/150-%E9%80%86%E6%B3%A2%E5%85%B0%E8%A1%A8%E8%BE%BE%E5%BC%8F.swift
https://patch-diff.githubusercontent.com/gl-lei/algorithm#排序和二分查找
https://patch-diff.githubusercontent.com/gl-lei/algorithm#散列表和字符串
https://patch-diff.githubusercontent.com/gl-lei/algorithm#二叉树和堆
https://patch-diff.githubusercontent.com/gl-lei/algorithm#图-1
https://patch-diff.githubusercontent.com/gl-lei/algorithm#贪心分治回溯和动态规划
点击https://patch-diff.githubusercontent.com/gl-lei/algorithm/blob/master/LeetCode/README.md
https://patch-diff.githubusercontent.com/gl-lei/algorithm#更多-leetcode-题解请点击
https://patch-diff.githubusercontent.com/gl-lei/algorithm#四学习资源
https://patch-diff.githubusercontent.com/gl-lei/algorithm#1-可视化工具
VisuAlgo.nethttps://visualgo.net/zh
旧金山大学数据结构与算法可视化网站https://www.cs.usfca.edu/~galles/visualization/Algorithms.html
https://patch-diff.githubusercontent.com/gl-lei/algorithm#2-swift-数据结构与算法
swift-algorithm-clubhttps://github.com/raywenderlich/swift-algorithm-club
raywenderlichhttps://www.raywenderlich.com/
raywenderlichhttps://www.raywenderlich.com/
SwiftAlgorithmshttps://github.com/thexande/SwiftAlgorithms
swift-algorithm-clubhttps://github.com/raywenderlich/swift-algorithm-club
https://patch-diff.githubusercontent.com/gl-lei/algorithm#3-leetcode-相关
LeetCode-Swifthttps://github.com/soapyigu/LeetCode-Swift
LeetCodeAnimationhttps://github.com/MisterBooo/LeetCodeAnimation
LeetCode刷题指南https://github.com/youngyangyang04/leetcode-master
https://patch-diff.githubusercontent.com/gl-lei/algorithm#4-其它语言数据结构与算法
数据结构与算法博客https://www.cnblogs.com/skywang12345/p/3603935.html
algorithmshttps://github.com/nibnait/algorithms/blob/master/src/main/java/algorithm_practice/README.md
《编程之法:面试与算法心得》https://github.com/julycoding/The-Art-Of-Programming-By-July
https://github.com/wangzheng0822/algohttps://github.com/wangzheng0822/algo
swift https://patch-diff.githubusercontent.com/topics/swift
algorithm https://patch-diff.githubusercontent.com/topics/algorithm
resource https://patch-diff.githubusercontent.com/topics/resource
leetcode https://patch-diff.githubusercontent.com/topics/leetcode
Readme https://patch-diff.githubusercontent.com/gl-lei/algorithm#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/gl-lei/algorithm#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/gl-lei/algorithm
Activityhttps://patch-diff.githubusercontent.com/gl-lei/algorithm/activity
140 starshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/stargazers
16 watchinghttps://patch-diff.githubusercontent.com/gl-lei/algorithm/watchers
48 forkshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fgl-lei%2Falgorithm&report=gl-lei+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/gl-lei/algorithm/releases
Packages 0https://patch-diff.githubusercontent.com/users/gl-lei/packages?repo_name=algorithm
Please reload this pagehttps://patch-diff.githubusercontent.com/gl-lei/algorithm
Swift 100.0% https://patch-diff.githubusercontent.com/gl-lei/algorithm/search?l=swift
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.