Пікірлер
@mrmani1700
@mrmani1700 2 күн бұрын
Time complexity 😅??
@mdirfanmansoori
@mdirfanmansoori Ай бұрын
nice
@nishantmishra1887
@nishantmishra1887 Ай бұрын
Nice
@srprantor
@srprantor Ай бұрын
You should teach some more advance case where binary search can be used. This one was even easier than spoj aggressive cow.
@codingdude8718
@codingdude8718 2 ай бұрын
thanks dude
@nownow1025
@nownow1025 3 ай бұрын
Brilliant Explanation.Thank you for explaining in such details.❤
@rex_incognito1
@rex_incognito1 4 ай бұрын
very good explanation thanks 👍
@muhammmedibrahim2032
@muhammmedibrahim2032 4 ай бұрын
GOOD JOB YOUR EXPLANATION IS GREAT FROM EGYPT KEEP GOING
@VishalKumar-ro4vs
@VishalKumar-ro4vs 5 ай бұрын
thank you very much sir
@yash.dwivedi
@yash.dwivedi 4 ай бұрын
glad that it was helpful
@SplitzAcc
@SplitzAcc 6 ай бұрын
Hey why can't lower_bound on prefix_sum work on it ?
@nownow1025
@nownow1025 3 ай бұрын
memory limit exceeded
@magniboy
@magniboy 6 ай бұрын
You can add this condition while returning ans vector: if (ans.size()==nums.size()/2 && ans.back() != -1) return ans; Otherwise it will fail on some test cases, like this: nums = [3,7,7,1,5,3]
@SuvradipDasPhotographyOfficial
@SuvradipDasPhotographyOfficial 6 ай бұрын
nice explanation, thank you...
@jitendrakumar-vv8ho
@jitendrakumar-vv8ho 7 ай бұрын
A was tougher than C problem what the f**k
@Sahrior_IS_Here
@Sahrior_IS_Here 7 ай бұрын
come back sir pls ...!
@Dd-ky4ye
@Dd-ky4ye 7 ай бұрын
keep up bro.God bless you
@mohaiminulislamshishir9361
@mohaiminulislamshishir9361 7 ай бұрын
But will this work for the case when array has only one element?
@renkcitoimparable1023
@renkcitoimparable1023 8 ай бұрын
I just started watching your vids 2 years later and really appreciate your work dude! You are helping a lot :)
@codeEra1
@codeEra1 8 ай бұрын
Glad that the videos are still helping even after 2 years your feedback means alot
@Omar-Farhat
@Omar-Farhat 8 ай бұрын
Thanks
@harshkhedkar4101
@harshkhedkar4101 8 ай бұрын
So it does depend on Odd and Even position
@harshkhedkar4101
@harshkhedkar4101 8 ай бұрын
But sir the cost value How is that calculated ???
@aryanjangra98
@aryanjangra98 8 ай бұрын
do we really need the 3rd option? wouldn't the first two options in their subsequent problems also consider the third option without them?
@KhemendraBhardwaj
@KhemendraBhardwaj 9 ай бұрын
Thanks for the solution
@ashishparmar762
@ashishparmar762 10 ай бұрын
great session
@RahulYadav-jk7um
@RahulYadav-jk7um 10 ай бұрын
why bro x-z for odd and x+z for even
@shubhampatel_2745
@shubhampatel_2745 Жыл бұрын
Great Explanation i have every seen in cp problems and the code clean code as well..
@BrahmaHanuman
@BrahmaHanuman Жыл бұрын
great explaination thank you
@krishneshchaurasia3839
@krishneshchaurasia3839 Жыл бұрын
definitely learnt something useful, please continue this series
@codeEra1
@codeEra1 Жыл бұрын
thanks for your valuable feedback
@krishneshchaurasia3839
@krishneshchaurasia3839 Жыл бұрын
thank you
@navneetsharma5179
@navneetsharma5179 Жыл бұрын
Plzzz countinue your series and thanks for providing this grt content for free of cost thanks 🙏🙏🙏🙏
@codeEra1
@codeEra1 Жыл бұрын
Hey navneet thanks for your valuable feedback means alot
@alinayan9576
@alinayan9576 Жыл бұрын
Great man!!
@ShivamKumar-qk3vd
@ShivamKumar-qk3vd Жыл бұрын
clear Explanation!! Thank you
@arijitdey8419
@arijitdey8419 Жыл бұрын
orz explanation...keep up the good work sir!!!
@dominic9714
@dominic9714 Жыл бұрын
Whole youtube don't have a decent video on majority element using divide and conquer, no proper dry run, no proper explaining
@Chill_Magma
@Chill_Magma Жыл бұрын
Dear friend I also searched on majority element by upload date for more intuition haha . But this video is more better than the other ones if I must say .
@dominic9714
@dominic9714 Жыл бұрын
@@Chill_Magma other methods are quite easy to dry run on paper but i can't find any divide and conquer approach on this problem))
@samarthnimbargi5223
@samarthnimbargi5223 Жыл бұрын
good and very helpful stream!!
@codeEra1
@codeEra1 Жыл бұрын
Thank you samarth glad that it is helping
@gouravgupta1217
@gouravgupta1217 Жыл бұрын
Why you are not making videos now?
@vishalbairagi5364
@vishalbairagi5364 Жыл бұрын
best explantion bhaiya
@codeEra1
@codeEra1 Жыл бұрын
Thank you 🙏😊
@vishalbairagi5364
@vishalbairagi5364 Жыл бұрын
very nice explanation thank you 🙏
@karandeepsingh6201
@karandeepsingh6201 Жыл бұрын
Understood in depth intution Thanks
@Hayat-bk3bv
@Hayat-bk3bv Жыл бұрын
very helpful , could you please prepare DP session for us
@PrimaDel
@PrimaDel Жыл бұрын
Dude stick to one fucking language or title the video as (in hindi), this is so annoying.
@HarshilBambhroliya-h5t
@HarshilBambhroliya-h5t Жыл бұрын
Best Explanation
@مؤمنايهاب-ن1ق
@مؤمنايهاب-ن1ق Жыл бұрын
great ... wil be greatest if you talk more slowly
@TuringTested01
@TuringTested01 Жыл бұрын
chutiya solution
@houssainebendhieb203
@houssainebendhieb203 Жыл бұрын
thank you good as always
@Rakesh-up8yj
@Rakesh-up8yj Жыл бұрын
Wrost Explanation i ever seen
@houssainebendhieb203
@houssainebendhieb203 Жыл бұрын
thank you Sir
@codeEra1
@codeEra1 Жыл бұрын
Glad that it was helpful for you keep coding ☺️
@houssainebendhieb203
@houssainebendhieb203 Жыл бұрын
great session thank you Sir
@codeEra1
@codeEra1 Жыл бұрын
Glad that you liked the effort
@Rakesh-up8yj
@Rakesh-up8yj Жыл бұрын
Arey Bhai to khud hi samj kisko samjha raha yeh bilkul vahid explain keya !
@nikhilmeena2196
@nikhilmeena2196 Жыл бұрын
amazing explanation man. Loved it 🌸
@houssainebendhieb203
@houssainebendhieb203 Жыл бұрын
thank you Sir
@codeEra1
@codeEra1 Жыл бұрын
Hey Houssaine glad that it helped you thank you for your valuable comment