Question Link : TSORT Problem - CodeChef
My Submission : CodeChef: Practical coding for everyone
Please explain — Why time limit exceeded ? What are the ways to reduce run time ?
Help Please
Question Link : TSORT Problem - CodeChef
My Submission : CodeChef: Practical coding for everyone
Please explain — Why time limit exceeded ? What are the ways to reduce run time ?
Help Please
How are you expecting Bubble Sort to get accepted when T<= 10^6 and N <= 10^6.
You should first read about different sorting techniques and their time complexity.