Based on the time limit for each language in this post
In this question TSORT Problem - CodeChef
Same code one is javascript with node.js (CodeChef: Practical coding for everyone) and another is java (CodeChef: Practical coding for everyone), SO both be AC within 2X time: 2 * 3.0475 Time limit. However, java accepted, javascript TLE. Why