SyntaxFix
Write A Post
Hire A Developer
Questions
I had a lecturer who once suggested generating a random array, checking if it was sorted and then checking if the data was the same as the array to be sorted.
Best case O(N) (first time baby!) Worst case O(Never)