Your approach is amazing. I always look up to your videos to fully understand the problem and try to solve it on my own first. Can you put up some videos on Priority Queue?
Its a nice solution, I used the stream API to sum the elements on the right in this way int rightSum = Arrays.stream(nums).sum() but it was not performing and when i changed to the normal for loop, it was performing well. I do not know why it was like that.
Your approach is amazing. I always look up to your videos to fully understand the problem and try to solve it on my own first. Can you put up some videos on Priority Queue?
i will try to add them
Superb explanation!
Great explanation sir
Crystal clear sir
The same q was asked to me in Cimpress interview round, 3 days back😁😁
Sir when will system design video come❓
Nice video sir
Its a nice solution, I used the stream API to sum the elements on the right in this way int rightSum = Arrays.stream(nums).sum()
but it was not performing and when i changed to the normal for loop, it was performing well. I do not know why it was like that.
❤❤❤