PHP Data Structures - Linked List
Linked List
Traversal
Insert a new node at the start
Insert a new node at the end
Insert a new node at a given position
Delete the first node
Delete the last node
Delete a node at the given position
Delete all nodes
Count nodes
Delete even nodes
Delete odd nodes
Search an element
Delete first node by key
Delete last node by key
Delete all nodes by key
Reverse the List
Swap node values
Other Related Topics
PHP - Doubly Linked List
PHP - Circular Singly Linked List
PHP - Circular Doubly Linked List
Tutorials
×
Programming Languages
Web Technologies
Database Technologies
Microsoft Technologies
Python Libraries
References
Algorithms
Data Structures
Interview Questions
Python
Java
C++
C
C#
PHP
JavaScript
R
Ruby
Rust
Swift
Scala
Perl
HTML
CSS
JavaScript
PHP
AJAX
XML
SQL
MySQL
SQL Server
MariaDB
PostgreSQL
SQLite
T-SQL
MySQLi
PHP & MySQL
Excel
NumPy
Pandas
Matplotlib
SciPy
Seaborn
C++ Standard Library
C Standard Library
Java Utility Library
Java Default Package
PHP Function Reference
PHP Data Structures - Linked List
Linked List
Traversal
Insert a new node at the start
Insert a new node at the end
Insert a new node at a given position
Delete the first node
Delete the last node
Delete a node at the given position
Delete all nodes
Count nodes
Delete even nodes
Delete odd nodes