随笔 - 337  文章 - 5  评论 - 3  阅读 - 39万
03 2023 档案
php栈的数据结构
摘要:<?php class Stack{ const MAXSIZE = 4;// 栈最大容量 private $top = -1; private $stack = array();// 利用数组存储数据 public function __construct(){ $this->stack = ar 阅读全文
posted @ 2023-03-21 17:39 kevin_yang123 阅读(10) 评论(0) 推荐(0) 编辑
php快速排序和冒泡排序
摘要:<?php function maopao($arr){ if(!is_array($arr)){ return $arr; } $count=count($arr); if($count<=1){ return $arr; } for($i=1;$i<$count;$i++){ for($j=1; 阅读全文
posted @ 2023-03-07 15:16 kevin_yang123 阅读(11) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示