Skip to content

A simple PHP library that implements a **sorted linked list**. The list keeps values sorted automatically and supports integers or strings (not both in the same list). Includes PHPUnit tests and Docker setup for easy development.

Notifications You must be signed in to change notification settings

goodman77/sorted-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SortedLinkedList

A simple PHP library that implements a sorted linked list.
The list keeps values sorted automatically and supports integers or strings (not both in the same list). Includes PHPUnit tests and Docker setup for easy development.


Features

  • Add integers or strings in sorted order
  • Delete elements
  • Type-safe (prevents mixing strings and integers)
  • Convert to array
  • Iterable with foreach

Requirements

  • PHP 8.1+
  • PHPUnit 10+
  • Composer
  • Docker (optional, for containerized development)

Installation

Clone the repository:

git clone
cd sorted-linked-list
composer install

About

A simple PHP library that implements a **sorted linked list**. The list keeps values sorted automatically and supports integers or strings (not both in the same list). Includes PHPUnit tests and Docker setup for easy development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published