Is this a new sorting algorithm? [with Java and Pseudo-code implementation]?

For me, it looks like a modified bubble sort algo, which may perform better for certain arrangements of input elements. Altough not necessarily fair, I did a benchmark with warmup cycles using your input array, for comparison of.

It is O(n^2) (assuming it works, I am not sure about that), as to already exists - maybe - it is not really original, as it can be considered a variation of a trivial sorting implementation, but I doubt if there is any published algorithm which is exactly the same as this one, specifically one with two consecutive inner loops.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions