Skip to content

Samwel24/sortingAlgorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to my Sorting Algorithm code

by Samuel Ezedi

I only have two kinds of sorting algorithm here, the Bubble Sorting Algorithm and the Selection Sort algorithm you could read more about them on google I have taken the time to solve the problem both in PHP and Javascript You would find codes in the sortindAlgorithm directory to run power up your server and run the code

Selection Sort

Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) time complexity, making it inefficient on large lists, and generally performs worse than the similar insertion sort. Selection sort is noted for its simplicity, and it has performance advantages over more complicated algorithms in certain situations, particularly where auxiliary memory is limited. Readmore

Bubble Sort

Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list to be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. Readmore

Thanks, please follow me and show me how to be a better programmer, I really appreciate that :rocket:

About

built in php and javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages