Please help me to find out where my code is logically wrong
@the.shubham.sri
1 the lowest possible time will be the max element present in the array.that ll be your low.
2 in your line 9 ill be if(time[i] + temp<=mid)
3 look at the constraints.change int to long long
correct all these
I’ve done all changes but still getting wrong answer please check https://ide.codingblocks.com/s/217099