Have been tinkering with sorting algorithms for a while and think I have a new one - a n un stable in-place algorithm whose best and worst case comparison is same at 3^(k-1) + 2^(k-1)
where n = 2^(k)
.
I thought I had two others - n log(n) log(n)
and n*k
but believe they are inplace-merge-sort and binary-quick-sort/binary-radix-sort respectively. However I've not so far encountered any with the above time complexity.
Update #2 :
Question is whether there is already any known stable, in-place sorting algorithm with a time complexity of 3^(k-1) + 2^(k-1)
where n = 2^(k)
.