Email: [email protected]
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 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, 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: