├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README-EN.md ├── README.md ├── _config.yml └── package ├── Features ├── SystemSwitch.php └── YieldExample.php ├── Other ├── AntsClimb.php ├── BidirectionalQueue.php ├── BigSmallReplace.php ├── CartesianProduct.php ├── ColorBricks.php ├── DynamicProgramming.php ├── ElevatorDispatch.php ├── Encryption.php ├── Factorial.php ├── Fibonacci.php ├── GetCattle.php ├── HanoiGames.php ├── Interval.php ├── Judge.php ├── Knapsack.php ├── Maze.php ├── MonkeyKing.php ├── OnlyNumbers.php ├── PointInTriangle.php ├── PokerGames.php ├── Prim.php ├── Rectangle.php ├── RotationSort.php ├── Solution.php ├── Square.php └── StealingApples.php ├── Query ├── BFSQuery.php ├── BinaryQuery.php ├── BinarySearchTree.php ├── DijkstraQuery.php ├── FibonacciQuery.php ├── InsertQuery.php ├── Kmp.php └── QuickQuery.php ├── Sort ├── BubbleSort.php ├── HeapSort.php ├── InsertSort.php ├── MergeSort.php ├── QuickSort.php ├── SelectSort.php ├── ShellSort.php └── ShuttleSort.php └── Structure ├── BinarySearchTree.php ├── KitchenQueue.php ├── LinearChain.php ├── LinearOrder.php └── StackExample.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/LICENSE -------------------------------------------------------------------------------- /README-EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/README-EN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/_config.yml -------------------------------------------------------------------------------- /package/Features/SystemSwitch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Features/SystemSwitch.php -------------------------------------------------------------------------------- /package/Features/YieldExample.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Features/YieldExample.php -------------------------------------------------------------------------------- /package/Other/AntsClimb.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/AntsClimb.php -------------------------------------------------------------------------------- /package/Other/BidirectionalQueue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/BidirectionalQueue.php -------------------------------------------------------------------------------- /package/Other/BigSmallReplace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/BigSmallReplace.php -------------------------------------------------------------------------------- /package/Other/CartesianProduct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/CartesianProduct.php -------------------------------------------------------------------------------- /package/Other/ColorBricks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/ColorBricks.php -------------------------------------------------------------------------------- /package/Other/DynamicProgramming.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/DynamicProgramming.php -------------------------------------------------------------------------------- /package/Other/ElevatorDispatch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/ElevatorDispatch.php -------------------------------------------------------------------------------- /package/Other/Encryption.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Encryption.php -------------------------------------------------------------------------------- /package/Other/Factorial.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Factorial.php -------------------------------------------------------------------------------- /package/Other/Fibonacci.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Fibonacci.php -------------------------------------------------------------------------------- /package/Other/GetCattle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/GetCattle.php -------------------------------------------------------------------------------- /package/Other/HanoiGames.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/HanoiGames.php -------------------------------------------------------------------------------- /package/Other/Interval.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Interval.php -------------------------------------------------------------------------------- /package/Other/Judge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Judge.php -------------------------------------------------------------------------------- /package/Other/Knapsack.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Knapsack.php -------------------------------------------------------------------------------- /package/Other/Maze.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Maze.php -------------------------------------------------------------------------------- /package/Other/MonkeyKing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/MonkeyKing.php -------------------------------------------------------------------------------- /package/Other/OnlyNumbers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/OnlyNumbers.php -------------------------------------------------------------------------------- /package/Other/PointInTriangle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/PointInTriangle.php -------------------------------------------------------------------------------- /package/Other/PokerGames.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/PokerGames.php -------------------------------------------------------------------------------- /package/Other/Prim.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Prim.php -------------------------------------------------------------------------------- /package/Other/Rectangle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Rectangle.php -------------------------------------------------------------------------------- /package/Other/RotationSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/RotationSort.php -------------------------------------------------------------------------------- /package/Other/Solution.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Solution.php -------------------------------------------------------------------------------- /package/Other/Square.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/Square.php -------------------------------------------------------------------------------- /package/Other/StealingApples.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Other/StealingApples.php -------------------------------------------------------------------------------- /package/Query/BFSQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/BFSQuery.php -------------------------------------------------------------------------------- /package/Query/BinaryQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/BinaryQuery.php -------------------------------------------------------------------------------- /package/Query/BinarySearchTree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/BinarySearchTree.php -------------------------------------------------------------------------------- /package/Query/DijkstraQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/DijkstraQuery.php -------------------------------------------------------------------------------- /package/Query/FibonacciQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/FibonacciQuery.php -------------------------------------------------------------------------------- /package/Query/InsertQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/InsertQuery.php -------------------------------------------------------------------------------- /package/Query/Kmp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/Kmp.php -------------------------------------------------------------------------------- /package/Query/QuickQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Query/QuickQuery.php -------------------------------------------------------------------------------- /package/Sort/BubbleSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/BubbleSort.php -------------------------------------------------------------------------------- /package/Sort/HeapSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/HeapSort.php -------------------------------------------------------------------------------- /package/Sort/InsertSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/InsertSort.php -------------------------------------------------------------------------------- /package/Sort/MergeSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/MergeSort.php -------------------------------------------------------------------------------- /package/Sort/QuickSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/QuickSort.php -------------------------------------------------------------------------------- /package/Sort/SelectSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/SelectSort.php -------------------------------------------------------------------------------- /package/Sort/ShellSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/ShellSort.php -------------------------------------------------------------------------------- /package/Sort/ShuttleSort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Sort/ShuttleSort.php -------------------------------------------------------------------------------- /package/Structure/BinarySearchTree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Structure/BinarySearchTree.php -------------------------------------------------------------------------------- /package/Structure/KitchenQueue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Structure/KitchenQueue.php -------------------------------------------------------------------------------- /package/Structure/LinearChain.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Structure/LinearChain.php -------------------------------------------------------------------------------- /package/Structure/LinearOrder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Structure/LinearOrder.php -------------------------------------------------------------------------------- /package/Structure/StackExample.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pushaowei/arithmetic-php/HEAD/package/Structure/StackExample.php --------------------------------------------------------------------------------