I am getting RuntimeError for Hidden data sets for the following code:-
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.StringTokenizer;
class Solution {
private final static String CORRECT =
Hi,
I had implemented the code in the same way but I printed the output in the
order the jobs arrived in the input not the sorted one which I implemented
in the code.
That's how I was able to solve the problem.
Thanks and Regards,
Nikhil Kataria
On Tue, Apr 7, 2020 at 6:13 AM DEVANSH CHAUDHARY