Mass Cheating in every Leetcode Contest (More shorts on this New Channel) - kzbin.infohH473URZWnk?si=VHvc-zg59h7kbR-u
@unknown077118 ай бұрын
The main reason of cheating is that students are more focusing on rating rather than taking it as practice ...
@emon49128 ай бұрын
I also thought of prefixSum but was confused of what to kept as prefixSum. Your step by step approach was so helpful.
@kingxkaushalАй бұрын
good explanation..
@anshthakur46778 ай бұрын
Can also be solved using lower_bound✌️
@yashkalia23118 ай бұрын
i solved it too
@bishwashkumarsah1718 ай бұрын
how?
@goyaldeekshant8 ай бұрын
nice one
@rev_krakken70Ай бұрын
I solved the second question using binary search. That concept seemed easier for me to understand rather than the prefix sum one
@AdityaGupta-kv5ipАй бұрын
I solved it using segment trees and after solving when I saw the editorial I saw that there was not even any one solution using segment trees lol and not even the problem tags mention segment trees😂
@abhyudaysingh62018 ай бұрын
what is a bad index ?
@jimit27958 ай бұрын
How come someone can come up with that bad indexs stuff in an interview. Damm I am dumb af.
@TarakMehtaBgmi8 ай бұрын
can also do it using sliding window by sorting the queries