PESADA06 - Quickly sort a list of integers
Quickly sort the given list of integers. Quick is the key.
The input begins with the number t of test cases in single line (t<=10). Each test case begins with number n of input size (n<=1000000) and n lines having n integers as input for the test case. Integers are signed integers in the range [-1000000, 1000000] and there can be duplicate entries.
For every test case print the integers sorted in ascending order, one number per line. Test cases separated by an empty line.
hey anyone help me pls ....i m using quick sort it is giving tle
Tricky one, TLE two times already, and I have been using quicksort-insertionsort combo...