Тёмный

Find Second Largest Element in Array | Remove duplicates from Sorted Array | Arrays Intro Video 

take U forward
Подписаться 605 тыс.
Просмотров 916 тыс.
50% 1

Notes/C++/Java/Python codes in Step 3.1 of bit.ly/tufA2ZYt
Largest Element: takeuforward.org/data-structu...
Second Largest: takeuforward.org/data-structu...
Check if Sorted: takeuforward.org/data-structu...
Remove Duplicates: takeuforward.org/data-structu...
Practice Link:
Largest Element: bit.ly/3CuLIR3
Second Largest: bit.ly/3GJie4l
Check if Sorted: bit.ly/3XsgYIH
Remove duplicates: bit.ly/3if2k8G
Full Course: bit.ly/tufA2ZYt
You can follow me across social media, all my handles are below:
Linkedin/Instagram/Telegram: linktr.ee/takeUforward
0:00 Introduction of Course
0:54 Basics of array
6:33 Introduction of Brute, Better and Optimal Approaches
8:50 Largest element in an array
11:39 Pseudo code
12:44 Code-compiler
13:30 Second Largest element in an array
23:48 coding implementation
28:42 Check if the array is sorted
30:00 Pseudo code
30:49 Code-compiler
31:26 Remove duplicates in place from Sorted array
40:40 Pseudo code
42:12 Code-compiler

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 732   
@takeUforward
@takeUforward Год назад
Let's march ahead, and create an unmatchable DSA course! ❤ Use the problem links in description.
@ParasSharma-mf8or
@ParasSharma-mf8or Год назад
I will add it, don't worry
@mityamkumar1158
@mityamkumar1158 Год назад
Hey striver, Just a small request, If is it possible then try to paste your video Clip in Right hand side in the lectures, as previous lectures. Because it's a habit of long time to see the solution or explains in left hand side. Just a silly request... 😂
@sahilbhaiya6200
@sahilbhaiya6200 Год назад
456 a to z start kar diye h 😊
@prithammahato1915
@prithammahato1915 Год назад
HAVE UNDERSTOOD_COMPLETELY
@039puneethbatchu2
@039puneethbatchu2 Год назад
Hello sir, You're so much passionate about teaching. Each and every word of your video goes into my mind . Thank you sir.
@mindpower185
@mindpower185 Год назад
GOAT respect ++ because no one can explain the TC & SC for begineers in whole youtube i saw all videos. but no one can expalin like you
@bhaiookabhai
@bhaiookabhai 6 месяцев назад
started today and completed the first video very well explained! thankyou so much! will continue the streak and will update below every video after successfully watching it! edit: whenever someone likes this comment i get reminded!
@sriemandi3978
@sriemandi3978 4 месяца назад
bro where are you ?
@pratikdongre4376
@pratikdongre4376 Месяц назад
bhag gya kya padhai kr
@sambitpradhan1211
@sambitpradhan1211 Месяц назад
@bhaiookabhai kaaha tak pahuncahe dsa , mae aj start kar raha hun
@abhijeetmishra3804
@abhijeetmishra3804 Год назад
The video was awesome and so were you with your method of teaching. Hoping that it goes ahead in same way. Thank you, keep growing and keep posting.
@mahmoodakhtar-df1ze
@mahmoodakhtar-df1ze 3 месяца назад
I was wondering how my friends were studying so well, then I found out they were all studying from here, man.♥ You have the best way of explaining things! You start everything from scratch and then build it up so well. ♥
@jaykaantshikre751
@jaykaantshikre751 10 месяцев назад
Understood , Never thought easy problems could be solved with such optimal solutions.
@chintamanipala
@chintamanipala 9 месяцев назад
I loved your teaching style as well as how we can build our logic from a brute force approch to optimal approch ❤❤❤
@siddhant2943
@siddhant2943 Год назад
Thank you for this fantastic and well-structured course Striver. I just started into the world of problem-solving and found it very difficult to follow along on tutorials. But after I started watching your videos my mind began to think of an approach before looking for solutions. Though I still find it challenging to write all the code by myself, I am happy that I have started making progress on the problem-solving part. Things are making sense and I am able to come up with different scenarios before actually solving the problem.
@user-db3xz3oz6s
@user-db3xz3oz6s 10 месяцев назад
bro i am starting dsa. how is strivers for that? also apne kitna kaar liya hai
@user-zf9fd4ww1h
@user-zf9fd4ww1h 6 месяцев назад
@@user-db3xz3oz6s striver is amazing, just that you have to practice a lot of questions. just watching striver videos alone will help a little, main thing is rigorous practice.
@shubhrajit2117
@shubhrajit2117 6 месяцев назад
At 34:28 the set can be made simply as set st(arr, arr + n);
@yhbarve
@yhbarve Год назад
The 2-pointer method is so efficient compared to brute force...and it's so short as well...loved it! Understood
@CodewithKing360
@CodewithKing360 4 месяца назад
can you tell me in code to find slarge why we write elseif block
@abhisheksharma9425
@abhisheksharma9425 4 месяца назад
@@CodewithKing360 public static int largest(int num[]) { int max = 0; for (int i = 0; i < num.length; i++) { if (num[i] >= max) { max = num[i]; } } return max; }
@parthkandwal8343
@parthkandwal8343 Год назад
You are doing an amazing job Sir by providing such brilliant content. Thank you very much Sir.
@Manishgupta200
@Manishgupta200 Год назад
Superb Striver. The Removed duplicates was much thinkable but solved finally. Thankyou for such an amazin tutorial
@thefourhourtalk
@thefourhourtalk 6 месяцев назад
this course your explanation is just wow ; I am regretting that this piece of gold Ive found a bit late
@pratikkumar20
@pratikkumar20 11 месяцев назад
Just completed. It was amazing, the way you explain, hats off to you Thank you.
@AmartyaPardeshi
@AmartyaPardeshi 11 месяцев назад
Great efforts, thanks for this precious course!
@Dev2.0
@Dev2.0 Год назад
Completed DP series... That's pure Gold.. Now watching this series to revise concepts.... Striver Bhaiya You are my inspiration 🥺🥺
@AppaniMadhavi
@AppaniMadhavi 6 месяцев назад
Is that Dp series helpful to clear google dsa rounds??
@saswatrath4646
@saswatrath4646 3 месяца назад
yes, super helpful uske sath agar love babbar and interviewbit ka addditional questions laga dega to interview bhi clear ho jayega @@AppaniMadhavi
@AppaniMadhavi
@AppaniMadhavi 3 месяца назад
Tq for giving clarity@@saswatrath4646
@cinime
@cinime Год назад
Understood! Super fantastic explanation as always, thank you very much!!
@VishnuKumar-vi8hh
@VishnuKumar-vi8hh Год назад
It was great learning Thanks❤ Bhaiya I have now more interested in coding after seeing your playlist , always feels motivated.
@jeevithm8101
@jeevithm8101 Месяц назад
It has been fantastic! Even as a beginner, I'm able to understand complex problems thanks to your clear explanations. Thank you for making such high-quality content!
@AbhishekSingh-mh2fg
@AbhishekSingh-mh2fg 10 месяцев назад
Watching this video after solving these problems. For the Remove duplicates, i did it like if array[i] < array[i++] if yes then increase the count. I really like the way you explain.
@user-bj9qx9yf1o
@user-bj9qx9yf1o 9 месяцев назад
Great explanation, no rocket science and maths, Thank you for such great content.
@priyanshi3265
@priyanshi3265 Год назад
Thank you striver for the amazing explanation 😊
@vilen2685
@vilen2685 11 месяцев назад
I'm enjoying now to do DSA !!! Thanks Striver, thanks a lot.
@thor1626
@thor1626 Год назад
Thanks for the amazing explanantion, i was stuck on the duplicates question, but you made it very easy, thanks. keep going. //(11/7/23 || 4:38 am)
@codeedict3919
@codeedict3919 Год назад
Understood...🔥🚀🔥 || Loving it so far. Thanks for amazing content.
@rnjnmhta.catomato
@rnjnmhta.catomato 10 месяцев назад
your explanation feels like pure science! beautiful man
@pranshuatrey
@pranshuatrey Год назад
My damm god, how on earth anyone can teach so brilliantly. Sir u are such a gem.. 💎💎💎💎
@EduTechMentor
@EduTechMentor Год назад
Amazing explanation !
@madhukiran8093
@madhukiran8093 11 месяцев назад
Helpful in getting back on track after a long Break
@secretdreams201
@secretdreams201 5 месяцев назад
Thankyou for giving this well structured course.
@worthlessguy1621
@worthlessguy1621 4 месяца назад
Thank you striver for putting so much effort into making these videos. Thank you again :)
@inspirationalyouthicons4998
@inspirationalyouthicons4998 10 месяцев назад
bhaiya you are just awesome! you are an insipiration for the whole student community! big shoutout yo you! continue like tha ,you make many student future bright
@samlinus836
@samlinus836 10 месяцев назад
Such a big thing to share your knowledge in this free platform while there r lots of paid platforms... Thanks a lot Understood bruh
@jeeveshkumar9682
@jeeveshkumar9682 5 месяцев назад
understood, and the idea of not making very long videos is superb. Long videos are scary. thanx for ur efforts
@venugopal_2003
@venugopal_2003 Год назад
great! understood very well
@Swati-uy6wg
@Swati-uy6wg 10 месяцев назад
This course helped me a lot. Thankyou bhaiya!
@vishnug16
@vishnug16 8 месяцев назад
Thank you for this video, I understood whole concept which was discussed in this video.
@vanshjim6179
@vanshjim6179 8 месяцев назад
mind blowing explaination man . thank you for this content makes more and more
@utsavseth6573
@utsavseth6573 Год назад
you are doing a great job striver.
@vidushibhardwaj1415
@vidushibhardwaj1415 3 месяца назад
this is the first time i'm studying from this channel and you're the best. I'm literally enjoying solving questions today, thankyou so much for this❤
@sarthakkhandelwal3915
@sarthakkhandelwal3915 Год назад
Best course for dsa 🔥🔥
@gauravbhadauriya4945
@gauravbhadauriya4945 Год назад
Awesome lecture bhaiya❤
@webtestingui7187
@webtestingui7187 Год назад
I am on the who found this channel very late but der aaye durust aaye.These topics are crystal clear in my mind after watching this video Thanks for your effort
@PrithaMajumder
@PrithaMajumder Месяц назад
Raj, Thanks a lot for This Amazing Video about C++ Arrays Video - 1 Completed ✅
@pranabpaul6317
@pranabpaul6317 Год назад
Understood! Thanks a lot striver for this amazing content. Love from Kolkata
@sahadevbhaganagare4761
@sahadevbhaganagare4761 11 месяцев назад
wonderful explanation understood!!
@ShubhamKumar-km8pm
@ShubhamKumar-km8pm Год назад
Awesome explanation striver🔥
@prakhargupta9839
@prakhargupta9839 Год назад
Thank you for such a wonderful content
@shariarnafiz9177
@shariarnafiz9177 7 месяцев назад
Understood everything, Thanks a lot
@vikhashjp
@vikhashjp 4 месяца назад
Sir you're a Legend and I have a new interest in Coding after watching your videos and practicing constantly. Thank You ❤
@swapnilkhandekar4157
@swapnilkhandekar4157 Год назад
waited since afternoon for this... now starting
@itzmartin20
@itzmartin20 10 месяцев назад
very great explaination, understood sir!
@vikasbagri1225
@vikasbagri1225 Год назад
understood and very much appreciated
@aswindilip6166
@aswindilip6166 26 дней назад
Understood! your explanation was excellent ❤
@rijumondal6876
@rijumondal6876 Год назад
hey man I really really respect you as a person.
@letsdecodewithharsh
@letsdecodewithharsh Месяц назад
You are great man in explaining the concept too much easy way ♥
@AtulRawat-sf2lw
@AtulRawat-sf2lw Месяц назад
bro college join krne wala hoon pls thoda sa guide kr dijiye
@newtechhacaks
@newtechhacaks 9 месяцев назад
Thankyou for your efforts and knowledge for us 😊
@AniketKumar-hf2bo
@AniketKumar-hf2bo 6 месяцев назад
understood everything ,thank you for this amazing video
@rajatrathore5455
@rajatrathore5455 Год назад
Understood Great explanation
@VishalGupta-vn8ey
@VishalGupta-vn8ey Год назад
Understood clearly bhaiya !!
@harshavardhan184
@harshavardhan184 Год назад
This consistency is what I'm expecting bhaiya
@aayushsingh5614
@aayushsingh5614 5 месяцев назад
This guy will make every BUSINESS TEACHER'S business down for sure.....
@athlete18
@athlete18 Год назад
bhaiyya aapse hi sikha he sab kuch, thankyou again raj bhaiyya
@DeepaPatel-bq8fm
@DeepaPatel-bq8fm 2 месяца назад
You are so good in simplifying things
@maybevinay
@maybevinay Год назад
Amazing videos sir.🙏
@DevashishJose
@DevashishJose Год назад
Understood. thank you so much for this video.
@ashokmunnuru-fe8xr
@ashokmunnuru-fe8xr Год назад
Understood Thank you Striver
@harshthkkr
@harshthkkr 7 месяцев назад
Understood. Thanks bhaiya.
@Deepak-hv8uh
@Deepak-hv8uh 5 месяцев назад
bhai ne kya gajab samjhaya hai, maza aa gaya
@CoderGrow1
@CoderGrow1 6 месяцев назад
Understood thanks bhaiya 💌
@nagame859
@nagame859 Год назад
Simple and easy 👍
@rijudey8008
@rijudey8008 Год назад
Understood....Thank u striver❤
@EC20022ELAKKIYAC
@EC20022ELAKKIYAC 6 месяцев назад
Understood! Thank You so much
@aliakbaransaria3-925
@aliakbaransaria3-925 11 месяцев назад
Very good explanation 👏 👌
@gulshankumar9896
@gulshankumar9896 2 месяца назад
Mindblowing video on arrays in c++ ; thanks striver bhaiya for providing all these awesome materials at free of cost ; 😇
@rajgandhi8548
@rajgandhi8548 Год назад
Understood, Thank You!
@seriousname-uh6lq
@seriousname-uh6lq 3 месяца назад
u are so amazing, I really now like to study. Thanks
@Enigma-fk7mh
@Enigma-fk7mh 4 месяца назад
Thanks i truly understand the code & wondeful lecture :)
@ayushi4411
@ayushi4411 Год назад
Sir plz upload the videos as soon as possible coz we have to wait for a single video for about two weeks 🥹🥲
@takeUforward
@takeUforward Год назад
Yes we are going every alternate day now!
@ayushi4411
@ayushi4411 Год назад
@@takeUforward thanks sir!!!
@prajwalpatil9055
@prajwalpatil9055 Год назад
Yes sir ur videos are best for revising dsa
@Lucifer-xt7un
@Lucifer-xt7un Год назад
​@@takeUforward sir please upload videos alternatively as promised becoz relaying on you completely🥺🥲
@BhanuPratapSinghRajawat-iz2tf
@@Lucifer-xt7un BRO HE IS PROVIDING THE BEST FREE CONTENT OF DSA AND ALSO HE IS A SOFTWARE ENGINEER AT GOOGLE SO HE HAVE TO DO HIS WORK TOO SO PLZ TRY TO UNDERSTAND HOW MUCH BUSY HE IS BUT STILL HE IS PROVIDING THE BEST CONTENT TO US
@pranavmahendra3423
@pranavmahendra3423 6 месяцев назад
Understood bhai Remove duplicates, 2 pointer method and Rest all problems take an element of the array, run the for loop and compare that element to the current value. Thank you Striver Bhai
@sonukumar-oe1tr
@sonukumar-oe1tr 11 месяцев назад
understood i love the way to teach
@Me_Meraj
@Me_Meraj Год назад
Best DSA series i ever watch Really it is better than paid course
@ganeshgavhar5075
@ganeshgavhar5075 9 месяцев назад
Thanks buddy for helping us!!!
@subham1rout
@subham1rout Год назад
Just searching for this from a long time
@ryanmathew6397
@ryanmathew6397 10 месяцев назад
Great!! I tried to make an algorithm using this same methodology to find kth largest element by making and vector of size k. but i came out to be O9n^3) it seems. But really great full for your explanation.
@talog4102
@talog4102 11 месяцев назад
Understood, thank you very much bhai
@crazycyrus2861
@crazycyrus2861 Год назад
Awesome Explanation
@vardhamanbhandari5644
@vardhamanbhandari5644 Год назад
Understood,very Well!!!
@saswatrath4646
@saswatrath4646 3 месяца назад
Understood pro max bhai, Jai Jagannath!
@farazmobin2776
@farazmobin2776 Год назад
best DSA playlist
@neerajravipratap6636
@neerajravipratap6636 Год назад
This series is very helpful i requested to u plz make a oops video in depth
@Omkar-fg4ws
@Omkar-fg4ws 4 месяца назад
thank you so much bhiya , for providing dsa sheet and explaing the problems.
@joyjain3111
@joyjain3111 4 месяца назад
Thankyou so much Raj!!!
@sunnymishra2120
@sunnymishra2120 Год назад
loved it !! ❤❤
@CodewithKing360
@CodewithKing360 4 месяца назад
Bhaiya your approach towards the remove duplicates is very good 😉
@algolife9348
@algolife9348 2 месяца назад
Understood, thanks man.
@nayankhuman1043
@nayankhuman1043 Месяц назад
Understood ! Thanks a lot !
@mayankukarde9288
@mayankukarde9288 6 месяцев назад
For question - Check if array is sorted or not Alternative way which we can write instead of writing blank IF body boolean isSorted = true; for(int i=1; i< n ; i ++){ if(a[i] < a[i-1]){ isSorted = false; break; } } System.out.print(isSorted);
@poojaraman6663
@poojaraman6663 14 дней назад
Understood...thank u sir🙂
@devmahad
@devmahad 2 месяца назад
Thanks, starting :)
Далее
Complete DSA Roadmap For Beginners 2024
2:47
Просмотров 2,4 тыс.
The Most Important Role in Valorant…
8:15
Просмотров 90 тыс.
8 patterns to solve 80% Leetcode problems
7:30
Просмотров 232 тыс.