Skip to content

anurag001/LinkedList-in-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

LinkedList-in-PHP

Linked list implemented in php.

How to use it
Just include this index.php file. You can create any new object for class LinkedList, by default $obj is object for this class. You can delete operations like $obj->insertAtBeginning() etc. Create your own.

Functions

insertAtBeginning() - It will insert new node at the beginning of the lsit.
insertAtLast() - It will insert new node at the end of the lsit.
deleteFirstNode() - It will delete first node.
deleteLastNode() - It will delete last node.
delete(data) - It will require one parameter, the value of any node in the list. It will delete the first occurence of data.
printList() - It will print your entire list.

About

Linked list implemented in php.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages