Dividing Arrays - Test case 1 TLE (Java)

Hi,
I’m doing this with greedy approach in O(N logN) time. It’s still giving TLE.

Yes code complexity is not an issue, try fast Input output

@mayankA47
I’ve tried with BufferedReader:


Still no luck.

I’ve forwarded the issue to course mentor, issue will be rectified soon.

1 Like

Thanks @mayankA47
Would you mind looking at RTE in test cases (Java) ?
I can debug it if you tell me the RTE that I’m getting.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.