Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 929 Bytes

File metadata and controls

52 lines (27 loc) · 929 Bytes

#整理各种PHP代码例子

##测试访问入口

index.php

##类说明

###常用排序算法

在线动画演示各种排序算法过程


//冒泡排序[稳定]//插入排序[稳定]//选择排序[不稳定]//快速排序[不稳定]//希尔排序[不稳定]
Class/Sort.class.php


//归并排序[稳定]
Class/MergeSort.class.php

###常用查找算法


//二分查找//顺序常规查找
Class/Search.class.php

###常用数据结构


//线性表的删除
Class/Structure.class.php


//模拟链表的基本操作
Class/LinkNode.class.php
Class/LinkList.class.php


//模拟顺序栈的基本操作
Class/Stack.class.php


//实现双向队列
Class/Deque.class.php


//解决约瑟夫环问题
Class/Joseph.class.php


//模拟哈希表 //有bug
Class/hashTable.class.php