Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/142vip/408CSFamily
/ functions
Functions
85 in github.com/142vip/408CSFamily
⨍
Functions
85
◇
Types & classes
16
↓ 4 callers
Function
Partition
* * 寻找数组中的基准pivot,使得左侧元素全部小于等于pivot,右侧元素全部大于等于pivot * @param {Array} arr 分治思想处理后的数组 * @param {int} low 数组低位角标 左指针 * @param {int} high 数组高位角标
code/ds/js版本/QuickSort.js:29
↓ 1 callers
Function
BubbleSort
* 冒泡排序【JavaScript版本】
code/ds/js版本/BubbleSort.js:4
↓ 1 callers
Function
BubbleSort
(arr: number[])
code/ds/ts版本/BubbleSort.ts:10
↓ 1 callers
Function
Partition
(arr: number[], low: number, high: number)
code/ds/ts版本/QuickSort.ts:29
↓ 1 callers
Function
QuickSort
* 基于分治法思想,将数组进行快速排序 * @param {Array} arr 待排序的数组 * @param {int} low 数组低位角标 左指针 * @param {int} high 数组高位角标 右指针
code/ds/js版本/QuickSort.js:7
↓ 1 callers
Function
QuickSort
(arr: number[], low: number, high: number)
code/ds/ts版本/QuickSort.ts:7
↓ 1 callers
Function
binaryInsertSort
* 折半插入排序【JavaScript版本】
code/ds/js版本/BinaryInsertSort.js:4
↓ 1 callers
Function
binaryInsertSort
* 折半插入排序
code/ds/ts版本/BinaryInsertSort.ts:4
↓ 1 callers
Function
buildImageMain
* 功能:构建Docker镜像
scripts/core/build-image.ts:6
↓ 1 callers
Function
markMapMain
* 将思维导图的md格式转化为html,提供在线预览 * 链接:https://www.npmjs.com/package/markmap-cli
scripts/core/mark-map.ts:33
↓ 1 callers
Function
quickCreateMdFile
()
docs/quickCreateMdFile.js:42
↓ 1 callers
Function
scanDirectory
* 扫描目录
scripts/core/mark-map.ts:11
↓ 1 callers
Function
shellSort
* 数组的希尔排序 * - 返回已排序的数组,从小到大 * @param {Array} arr 待排序数组 * @param {int} len 数组长度,可校验 * @returns
code/ds/js版本/ShellSort.js:8
↓ 1 callers
Function
shellSort
(arr: number[], len: number)
code/ds/ts版本/ShellSort.ts:7
↓ 1 callers
Function
shellSortBetter
* 简化的希尔排序 * - 返回已排序号的数组,从小到大 * @param {Array} arr
code/ds/js版本/ShellSort.js:62
↓ 1 callers
Function
shellSortBetter
(arr: number[])
code/ds/ts版本/ShellSort.ts:68
↓ 1 callers
Function
specialStraightInsertSort
* 根据希尔排序的步长对分组进行直接插入排序处理 * @param {Array} arr 排序数组 * @param {int} len 数组长度 * @param {int} increment 增量步长 * @param {int} groupIndex 分组,第几个分组
code/ds/js版本/ShellSort.js:30
↓ 1 callers
Function
specialStraightInsertSort
(arr: number[], len: number, increment: number, groupIndex: number)
code/ds/ts版本/ShellSort.ts:31
↓ 1 callers
Function
straightInsertSort
* 直接插入排序【JavaScript版本】
code/ds/js版本/StraightInsertSort.js:4
↓ 1 callers
Function
straightInsertSort
(arr: number[], len: number)
code/ds/ts版本/StraightInsertSort.ts:4
↓ 1 callers
Function
swap
* 加减法实现两个元素值互换 */
code/ds/BubbleSort.cpp:26
↓ 1 callers
Function
swap
* 加减法实现两个元素值互换 */
code/ds/c++版本/BubbleSort.cpp:26
↓ 1 callers
Function
swap
* 加减法实现两个元素值互换 */
code/ds/c版本/BubbleSort.cpp:26
↓ 1 callers
Function
verifyCommitMain
* 验证Git Commit信息
scripts/core/verify-commit.ts:7
Function
BinaryInsertSort
折半查找
code/ds/BinaryInsertSort.cpp:2
Function
BinaryInsertSort
折半查找
code/ds/c++版本/BinaryInsertSort.cpp:2
Function
BinaryInsertSort
折半查找
code/ds/c版本/BinaryInsertSort.cpp:2
Function
BubbleSwapSort
冒泡排序
code/ds/BubbleSort.cpp:2
Function
BubbleSwapSort
冒泡排序
code/ds/c++版本/BubbleSort.cpp:2
Function
BubbleSwapSort
冒泡排序
code/ds/c版本/BubbleSort.cpp:2
Function
CreateListWithEndNode
单链表尾插法
code/ds/LinkList.cpp:29
Function
CreateListWithEndNode
单链表尾插法
code/ds/c++版本/LinkList.cpp:29
Function
CreateListWithEndNode
单链表尾插法
code/ds/c版本/LinkList.cpp:29
Function
CreateListWithStartNode
单链表头插法
code/ds/LinkList.cpp:2
Function
CreateListWithStartNode
单链表头插法
code/ds/c++版本/LinkList.cpp:2
Function
CreateListWithStartNode
单链表头插法
code/ds/c版本/LinkList.cpp:2
Function
DeLoopQueue
出队算法 头结点删除:x=Q.data[Q.front];Q.front=(Q.front +1)%Maxsize;Q.tag=0 队满条件:Q.front == Q.rear且Q.tag=1 注意:当删除之后链表为空时,还需增加一步,将尾指针指向头结点
code/ds/LoopQueue.cpp:31
Function
DeLoopQueue
出队算法 头结点删除:x=Q.data[Q.front];Q.front=(Q.front +1)%Maxsize;Q.tag=0 队满条件:Q.front == Q.rear且Q.tag=1 注意:当删除之后链表为空时,还需增加一步,将尾指针指向头结点
code/ds/c++版本/LoopQueue.cpp:31
Function
DeLoopQueue
出队算法 头结点删除:x=Q.data[Q.front];Q.front=(Q.front +1)%Maxsize;Q.tag=0 队满条件:Q.front == Q.rear且Q.tag=1 注意:当删除之后链表为空时,还需增加一步,将尾指针指向头结点
code/ds/c版本/LoopQueue.cpp:31
Function
EnLoopQueue
入队算法 尾插法:Q.data[Q.rear]=x;Q.rear=(Q.rear+1)%Maxsize;Q.tag=1 队空条件:Q.front== Q.rear且Q.tag==0
code/ds/LoopQueue.cpp:15
Function
EnLoopQueue
入队算法 尾插法:Q.data[Q.rear]=x;Q.rear=(Q.rear+1)%Maxsize;Q.tag=1 队空条件:Q.front== Q.rear且Q.tag==0
code/ds/c++版本/LoopQueue.cpp:15
Function
EnLoopQueue
入队算法 尾插法:Q.data[Q.rear]=x;Q.rear=(Q.rear+1)%Maxsize;Q.tag=1 队空条件:Q.front== Q.rear且Q.tag==0
code/ds/c版本/LoopQueue.cpp:15
Function
GetElem
单链表按序号查找
code/ds/LinkList.cpp:64
Function
GetElem
单链表按序号查找
code/ds/c++版本/LinkList.cpp:64
Function
GetElem
单链表按序号查找
code/ds/c版本/LinkList.cpp:64
Function
GetTop
读(获取)栈顶元素
code/ds/SqStack.cpp:58
Function
GetTop
读(获取)栈顶元素
code/ds/c++版本/SqStack.cpp:58
Function
GetTop
读(获取)栈顶元素
code/ds/c版本/SqStack.cpp:58
Function
ListDelete
code/ds/SqList.cpp:42
Function
ListDelete
code/ds/c++版本/SqList.cpp:42
Function
ListDelete
code/ds/c版本/SqList.cpp:42
Function
ListInsert
code/ds/SqList.cpp:12
Function
ListInsert
code/ds/c++版本/SqList.cpp:12
Function
ListInsert
code/ds/c版本/SqList.cpp:12
Function
LocateElem
单链表按值查找
code/ds/LinkList.cpp:99
Function
LocateElem
单链表按值查找
code/ds/c++版本/LinkList.cpp:99
Function
LocateElem
单链表按值查找
code/ds/c版本/LinkList.cpp:99
Function
Pop
出栈
code/ds/SqStack.cpp:44
Function
Pop
出栈
code/ds/c++版本/SqStack.cpp:44
Function
Pop
出栈
code/ds/c版本/SqStack.cpp:44
Function
Push
进栈
code/ds/SqStack.cpp:29
Function
Push
进栈
code/ds/c++版本/SqStack.cpp:29
Function
Push
进栈
code/ds/c版本/SqStack.cpp:29
Function
QuickSort
快速排序【伪代码】
code/ds/QuickSort.cpp:2
Function
QuickSort
快速排序【伪代码】
code/ds/c++版本/QuickSort.cpp:2
Function
QuickSort
快速排序【伪代码】
code/ds/c版本/QuickSort.cpp:2
Function
ShellSort
希尔排序【伪代码】
code/ds/ShellSort.cpp:3
Function
ShellSort
希尔排序【伪代码】
code/ds/c++版本/ShellSort.cpp:3
Function
ShellSort
希尔排序【伪代码】
code/ds/c版本/ShellSort.cpp:3
Function
ShellSortEnhance
code/ds/ShellSort.cpp:27
Function
ShellSortEnhance
code/ds/c++版本/ShellSort.cpp:27
Function
ShellSortEnhance
code/ds/c版本/ShellSort.cpp:27
Function
StackEmpty
栈空判断
code/ds/SqStack.cpp:18
Function
StackEmpty
栈空判断
code/ds/c++版本/SqStack.cpp:18
Function
StackEmpty
栈空判断
code/ds/c版本/SqStack.cpp:18
Function
linkStackPopNode
* 基于单链表链栈的出栈操作 * */
code/ds/LinkStack.cpp:50
Function
linkStackPopNode
* 基于单链表链栈的出栈操作 * */
code/ds/c++版本/LinkStack.cpp:50
Function
linkStackPopNode
* 基于单链表链栈的出栈操作 * */
code/ds/c版本/LinkStack.cpp:50
Function
linkStackPushNode
基于单链表链栈的进栈操作
code/ds/LinkStack.cpp:24
Function
linkStackPushNode
基于单链表链栈的进栈操作
code/ds/c++版本/LinkStack.cpp:24
Function
linkStackPushNode
基于单链表链栈的进栈操作
code/ds/c版本/LinkStack.cpp:24
Function
straightInsertSort
直接插入排序【伪代码】
code/ds/StraightInsertSort.cpp:2
Function
straightInsertSort
直接插入排序【伪代码】
code/ds/c++版本/StraightInsertSort.cpp:2
Function
straightInsertSort
直接插入排序【伪代码】
code/ds/c版本/StraightInsertSort.cpp:2
Function
switchValue
(params: SwitchValue)
code/ds/ts版本/BubbleSort.ts:43