Simply linked list in PHP

When we program, we often don’t realize how important it is to be familiar with the concept of data structure. We use several classes that abstract numerous concepts from the art of programming, but a good software architect knows and understands these concepts.

One is the simply linked list which is nothing more than a linked data structure consisting of a set of sequentially connected records called nodes.

Its implementation in php is through the SplFixedArray class, a, below we have an implementation of the simply linked list in php.


Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *