algo/php
wangzheng0822 adb7230470
Merge pull request #55 from SeasClouds/master
[PHP]基本的四则运算 +-*/()
2018-10-12 17:52:36 +08:00
..
05_array 数组实现 by php 2018-10-05 09:45:21 +08:00
06_linkedlist php 08_stack 2018-10-11 20:11:09 +08:00
07_linkedlist php 07_linkedlist 2018-10-09 17:34:34 +08:00
08_stack php 08_stack 2018-10-11 20:11:09 +08:00
Stack 基本的四则运算 +-*/() 2018-10-12 15:04:32 +08:00
.gitignore php 06_linkedlist 2018-10-09 11:13:32 +08:00
buildAutoLoad.sh php 07_linkedlist 2018-10-09 17:34:34 +08:00
composer.json php 08_stack 2018-10-11 20:11:09 +08:00
README.md php 08_stack 2018-10-11 20:11:09 +08:00

数据结构与算法之美PHP实现

项目运行

  • 依赖composer自动加载php目录下执行composer dump-autoload || sh buildAutoLoad.sh
  • 项目代码均在mac&php7环境下跑通

项目实现

06_linkedlist

  • 单链表php实现
  • 回文判断

07_linkedlist

  • reverse 单链表反转
  • checkCircle 链表中环的检测
  • mergerSortedList 两个有序的链表合并
  • deleteLastKth 删除链表倒数第n个结点
  • findMiddleNode 求链表的中间结点

08_stack

  • 链栈实现