Good point. it's noted that xj + yj is constant. Additionally, we aim to identify the maximum value of yi - xi within a certain range, specified by the condition yi - xi
@Priyadarshankumar-te7lf Жыл бұрын
we came here for understanding the approach, not just to watch someone who just read the copied code , saying this code and that code .
@takeapieandrun3 жыл бұрын
5:10 Why do you consider Xj + Yj constant? Doesn't it change as you iterate down the priority queue so you must consider it? For example in the first dataset provided, Xj + Yj is [4, 2, 15, -4]
@akashyadagouda8967 ай бұрын
Good point. it's noted that xj + yj is constant. Additionally, we aim to identify the maximum value of yi - xi within a certain range, specified by the condition yi - xi
@nurtayevyerzhan9114 жыл бұрын
keep doing it, this is really helpful!
@mohammadfraz4 жыл бұрын
Thanks a lot 😊
@nurtayevyerzhan9114 жыл бұрын
@@mohammadfraz a very good explanation! it’s a pity that I found your channel only now(
@mohammadfraz4 жыл бұрын
Glad that you loved ❤️. I have been covering contests and approaches since JANUARY. If possible please Share 😇.
@nurtayevyerzhan9114 жыл бұрын
@ Lead Coding yeah,I'll tell my friends who do cp!
@mohammadfraz4 жыл бұрын
Thanks a lot again
@shubhamnaik42054 жыл бұрын
Make videos on all the data structures and algorithms which are important and helpful in competitive programming. Thanks finally.
@mohammadfraz4 жыл бұрын
Yes in future I am planning for that 😊. Keep sharing the videos Thanks
@shubhamnaik42054 жыл бұрын
@@mohammadfraz yes sure for your best work
@swananddeshmukh44053 жыл бұрын
Instead of saying "this thing", if you will say X or Y or more specific words that would be really great, thank you
@theghostwhowalk2 жыл бұрын
Would be helpful if you could take example walk through. Otherwise good explanation.
@Vardanaggarwal4 күн бұрын
bilkul bhi samj nhi aayi
@ujjvalsharma50553 жыл бұрын
Another wonderful video :)
@mohammadfraz3 жыл бұрын
Thanks 😊
@giangkhuat93432 жыл бұрын
can some one explain to me why x_j and w_j is constant while y_i - x_i is changing ? Shouldn't they both change as we iterate ???
@akashyadagouda8967 ай бұрын
Good point. it's noted that xj + yj is constant. Additionally, we aim to identify the maximum value of yi - xi within a certain range, specified by the condition yi - xi
@AshutoshKumar-ee8ig4 жыл бұрын
Please explain solution of Parallel Courses 2 from biweekly contest 29 also...
@mohammadfraz4 жыл бұрын
Yes, I will try as soon as I can.
@deepashreekulkarni32133 жыл бұрын
Is it maxHeap or minHeap?
@ayushgarg59293 жыл бұрын
This Problem can be easily solved in 0(n) time...just compare max.for every index using sliding window
@steverogers1657 Жыл бұрын
Video is too short to explain hard problem of leetcode