Skip to content

Using php and OOP in php to visualise algorithms. This includes sorting, data structures etc.

Notifications You must be signed in to change notification settings

AvesonThyBot/algorithm-visualised-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Visualizer in PHP

This project is an Object-Oriented Programming (OOP) implementation in PHP, designed to visualize various algorithms, including sorting and searching. It provides an interactive platform to understand the inner workings of these algorithms.


Features

Sorting Algorithms

  • Selection Sort
  • Bubble Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort
  • Counting Sort
  • Bogo Sort

Searching Algorithms

  • Linear Search
  • Binary Search
  • Ternary Search
  • Jump Search
  • Interpolation Search
  • Exponential Search
  • Fibonacci Search

Visualization with Meaningful Data

  • Visualize sorting and searching algorithms with a dataset of 100 entries.
  • Run the PHP scripts to dynamically generate and display meaningful information during each execution.

Custom Data Entry

  • Add your own data for sorting and searching (hard limit of 100 data entries).
  • Experience the algorithms in action with personalized datasets.

Usage

To use this project, follow these steps:

  1. Clone the repository.
  2. Set up a local server using tools like XAMPP.
  3. Run the PHP scripts in the corresponding algorithm directories.
  4. Visualize the algorithms step by step with meaningful data.

Contributing

Contributions are welcome! If you'd like to contribute:

  • Open issues for bug reports or feature requests.
  • Submit pull requests for code improvements or new algorithms.
  • Feel free to suggest any enhancements to the project.

Credits

Videos used on this project is linked directly through YouTube IFrame, the channels are Linked under:

Proof of Concept

This project is freely available for use by anyone interested in learning and exploring algorithms. It is a proof of concept, demonstrating the power of Object-Oriented Programming in PHP.

Author

This project is maintained by AvesonThyBot on GitHub.

Feel free to explore, contribute, and use this project for educational purposes.

To Do

  • Live sanatisation of data entry
  • Live Error message for invalid data entry
  • Add algorithm for searches & sorts
  • Design Layout and functionalise the results page
  • Get feedback from 3 people

About

Using php and OOP in php to visualise algorithms. This includes sorting, data structures etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published