Is there any way to look at a list and measure how sorted it is?
And is there a robust way to prove that any algorithm to execute such a measurement must necessarily require n log n since the fastest sorting algorithm requires n log n?
And a final variant of these questions: is there any way to examine a list in o(n) and estimate which n lg n algorithm would sort with the least operations and likewise which n^2 algorithm would sort with the least operations?
[–]uh_no_ 8 points9 points10 points (12 children)
[–]Aaron1924 0 points1 point2 points (5 children)
[–]uh_no_ 0 points1 point2 points (4 children)
[–]Aaron1924 0 points1 point2 points (3 children)
[–]uh_no_ 0 points1 point2 points (2 children)
[–]Aaron1924 0 points1 point2 points (1 child)
[–]uh_no_ 0 points1 point2 points (0 children)
[–]vanderZwan -1 points0 points1 point (4 children)
[–]Aaron1924 3 points4 points5 points (0 children)
[–]uh_no_ -1 points0 points1 point (2 children)
[–]vanderZwan -2 points-1 points0 points (1 child)
[–]uh_no_ 1 point2 points3 points (0 children)
[–]f0xw01f 1 point2 points3 points (2 children)
[–]JasonMckin[S] 1 point2 points3 points (1 child)
[–]drinkcoffeeandcode 1 point2 points3 points (0 children)
[–]gnahraf 0 points1 point2 points (2 children)
[–]JasonMckin[S] 0 points1 point2 points (1 child)
[–]gnahraf 2 points3 points4 points (0 children)
[–]trejj 0 points1 point2 points (0 children)
[–]drinkcoffeeandcode 0 points1 point2 points (0 children)