jyil/php 数据结构和算法

dev-master 2019-09-19 07:25 UTC

This package is auto-updated.

Last update: 2024-09-19 18:33:43 UTC


README

php 数据结构和算法

git

git clone git@github.com:jyiL/php-dataStructure-algorithms.git

composer

composer create-project jyil/php-data-structure-algorithms path

安装

composer install

测试

./vendor/bin/phpunit

算法 算法

  • 排序

    • 冒泡排序
    • 冒泡排序优化
    • 桶排序
    • 堆排序
    • 插入排序
    • 归并排序
    • 快速排序
    • 基数排序
    • 选择排序
    • 梳排序
    • BFS (广度优先搜索)

数据结构

  • 链表
    • 单链表

设计模式