Stacks, Queues, and Deques – Data Structures in PHP
Reading Time: 6 minutes In my first post of this series on Singly Linked Lists, I mentioned that a list with the ability to add, get, or remove data from more than just the end of the list starts to behave more like a Deque. Then, I said I would cover those details in a later post. Well, later is now, and it’s time to talk about specific types of lists as Stacks, Queues, and Deques. Let’s get started.
Doubly Linked Lists – Data Structures in PHP
Reading Time: 9 minutes Read the previous article on Singly Linked Lists in PHP here! Read the starting post of the series here! All code in this series can be found on Github Doubly Linked List Principles The list consists of nodes, which contain data Each node contains a reference or pointer to the next node, and unlike Singly […]
Singly Linked Lists – Data Structures in PHP
Reading Time: 5 minutes All code in this series can be found on GitHub Linked Lists are where we start our journey in PHP Data Structures. Simply put, a linked list is data that is sequentially organized in which the start of the list (head) contains a reference to the next item (node) in the list. A one-way link […]
Data Structures in PHP
Reading Time: 2 minutes Data Structures are a hallmark of every computer science program at the university level, and it is unthinkable that throughout the course of study you will never encounter a specific data structure that you are unfamiliar with. As I return to school to pursue a degree in computer science I decided it would be a […]