title: Same solutions, different results on Codechef (Java)
body: <p><a href="https://www.codechef.com/problems/TSORT/" rel="nofollow">https://www.codechef.com/problems/TSORT/</a> - This is the problem to be solved</p>
  
  <p><a href="https://www.codechef.com/viewsolution/9110492" rel="nofollow">https://www.codechef.com/viewsolution/9110492</a> - My solution in Java (implemented Comparison sort)</p>
  
  <p><a href="https://www.codechef.com/viewsolution/8599514" rel="nofollow">https://www.codechef.com/viewsolution/8599514</a> - Some other persons solution in Java (he also implemented comparison sort)</p>
  
  <p>When I submit my solution, I get TLE (Time Limit Exceeded), but the other solution gets AC. </p>
  
  <p>What could be the possible reasons for this difference ? </p>
  
  <p>Note : If the solutions are different, please let me know the differences and areas of improvement in code.</p>