My guess is that I did something wrong in the Interaction part. The logic
is as per the analysis.
Any help is very much appreciated.
On Tuesday, April 7, 2020 at 9:25:21 PM UTC+5:30, Aditya Gupta wrote:
>
> Following is my solution to it. I tested it extensively and it was working
>
Following is my solution to it. I tested it extensively and it was working
on local. Maybe the interaction part was not working properly. Can anyone
please help me with what I did wrong?
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.AbstractMap;
import java.u
Hi,
In this question, the sample case #3, the answer is wrong according to me.
The 3rd sample case consists of 5 jobs:
99 150
1 100
100 301
2 5
150 250
Chronologically, it is in this order:
1 100
2 5
99 150
100 301
150 250
So if we assume J picks up the 1st task, it comes out to be JCCJC and n