php不支持指针,怎么实现单向链表?

WBOY
Release: 2016-06-13 13:53:28
Original
1026 people have browsed it

php不支持指针,如何实现单向链表???
rt?
如何实现一个单项链表的排序插入,删除??

------解决方案--------------------
用array吧,基本功能都能实现
比自己创建链表方便
------解决方案--------------------
你可以参照java实现的方法,在类里自包含一个类,呵呵
------解决方案--------------------
关注。。
------解决方案--------------------
你不要把php这个shell script当成是C语言……

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template