Binary Search Interview Questions - Google, Facebook, Amazon

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 8K

  • @KunalKushwaha
    @KunalKushwaha  ปีที่แล้ว +248

    Complete Java DSA playlist: th-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html

    • @parthgupta1057
      @parthgupta1057 ปีที่แล้ว +2

      bhayia what happened to hindi channel?????🥲🥲

    • @FragHeadProMax
      @FragHeadProMax ปีที่แล้ว +3

      Dear Kunal,
      The posterity will thank you for this service..nobody would have done this for free.each and every course that you have made is THE best and uncomparable. needless to say your code approach is a piece of art. This is coming from someone who is not from software background at all but is slowly getting confident at DSA.
      Cheers and God bless.❤

    • @STORYFACTUBE-x7q
      @STORYFACTUBE-x7q ปีที่แล้ว

      @KunalKushwaha in the question 5 of this video there is index out of bound exception how to get rid of that?

    • @knowledgemeal
      @knowledgemeal ปีที่แล้ว

      @@STORYFACTUBE-x7q I got same when we want to search elements at the end

    • @Mlakshman-w9k
      @Mlakshman-w9k ปีที่แล้ว +1

      /**
      * // This is MountainArray's API interface.
      * // You should not implement it, or speculate about its implementation
      * interface MountainArray {
      * public int get(int index) {}
      * public int length() {}
      * }
      */

      class Solution {
      //this will return the answer if found otherwise return -1
      public int findInMountainArray(int target, MountainArray mountainArr) {
      int peak = searchPeakElement(mountainArr);
      int leftSideOfMid = orderAgnosticBS(mountainArr, target, 0, peak);
      int rightSideOfMid = orderAgnosticBS(mountainArr, target, peak, mountainArr.length() - 1);

      if(leftSideOfMid != -1) {
      return leftSideOfMid;
      }else if(rightSideOfMid != -1){
      return rightSideOfMid;
      }else {
      return -1;
      }
      }
      //this will return the peak element in an interface(array)
      int searchPeakElement(MountainArray mountainArray) {
      int start = 0;
      int end = mountainArray.length() - 1;
      while(start < end ) {
      int mid = start + (end - start)/2;
      if(mountainArray.get(mid) < mountainArray.get(mid + 1)) {
      start = mid + 1;
      }else {
      end = mid;
      }
      }
      return start;
      }
      int orderAgnosticBS(MountainArray mountainArray, int target, int start , int end) {

      // to check the sorted array is ascending or descending order
      boolean isAsc = mountainArray.get(start) < mountainArray.get(end);
      while (start mountainArray.get(mid)){
      start = mid + 1;
      } else {
      end = mid - 1;
      }
      } else {
      if (target > mountainArray.get(mid)) {
      end = mid - 1;
      } else {
      start = mid + 1;
      }
      }
      }
      return -1;
      }
      }

  • @kartikgoel9671
    @kartikgoel9671 2 ปีที่แล้ว +389

    I have never commented on anyone's video in my last 10 years of using TH-cam, but when this guy said, he need support for this kickass course at 01:55 I am doing it, hope to see further lectures soon.

  • @mananshah2738
    @mananshah2738 8 หลายเดือนก่อน +162

    There's no competition, this guy is the best teacher when it comes to DSA and Java.

    • @devprasad8767
      @devprasad8767 8 หลายเดือนก่อน +1

      Striver also

    • @megas_alexandro
      @megas_alexandro 8 หลายเดือนก่อน

      @@devprasad8767 Kunal is unmatched

    • @swathi_bee4
      @swathi_bee4 7 หลายเดือนก่อน +1

      FR

  • @ahaddesirement4594
    @ahaddesirement4594 3 ปีที่แล้ว +541

    We don't want any fascinating animation or editing to learn algorithms or logic building process. We need videos like this where we can learn just how to do all this with pen and paper. This is the best. Thank you ❤️.

    • @ayushjhanwar226
      @ayushjhanwar226 3 ปีที่แล้ว +53

      Apna college roasted!

    • @priyanshuvettori5179
      @priyanshuvettori5179 2 ปีที่แล้ว +21

      No apna college was harmed in this comment

    • @sudhanshukushwaha6351
      @sudhanshukushwaha6351 2 ปีที่แล้ว +15

      apna college videos are like pass time
      just provide half knowledge

    • @harshsrivastava2324
      @harshsrivastava2324 2 ปีที่แล้ว +8

      Sahi bola yarr c++ mai array ka challenge mai sidha Google kickstart ka question samjhne lage or koi logic hi nahi tha

    • @jazibbashar3332
      @jazibbashar3332 2 ปีที่แล้ว +7

      @@sudhanshukushwaha6351 woh khali hath hilati h upr upr bol KR background music se baaqi video khatam tata by by

  • @SarathkumarS-zl2ck
    @SarathkumarS-zl2ck 8 หลายเดือนก่อน +109

    Hey Kunal... I'm from middle class family, I want to join a great DSA bootcamp, but I can't. Bcz I don't have lots of money to spend the course. Already my parents spent lakhs for my graduate. But you havebeen giving a great lectures of DSA for giving free. Now I give lots of love from heart. Please consider KUNAL love from my heart to money. I think love is greater than money. I don't know can I say this to you " Stay blessed ".
    I have to attend an interview in ZOHO please bless me to crack an interview in ZOHO. " Hey KUNAL " is not just a sentence, it is an emotion. Love from Tamilnadu .

    • @MuhammadArslan-px1sm
      @MuhammadArslan-px1sm 8 หลายเดือนก่อน +8

      how did your interview go? And also what was your tech stack?

    • @swathi_bee4
      @swathi_bee4 7 หลายเดือนก่อน +4

      hope you get placed in a good company

    • @SarathkumarS-zl2ck
      @SarathkumarS-zl2ck 7 หลายเดือนก่อน

      @@swathi_bee4 still nope... TRying best in Zoho

    • @SarathkumarS-zl2ck
      @SarathkumarS-zl2ck 7 หลายเดือนก่อน +2

      @@MuhammadArslan-px1sm hey :(, still I'm not placed...

    • @TamilTipsAbdur
      @TamilTipsAbdur 6 หลายเดือนก่อน +1

      @@SarathkumarS-zl2ck whether its tough or you are trying for better companies ah bro?

  • @ashishmathewabraham7278
    @ashishmathewabraham7278 ปีที่แล้ว +171

    It's pretty revolutionary in the way that you teach this course. 12+ years into the industry and I have never seen someone teaching with so much passion. People can take this meticulous art of yours into other industries as well. Cheers!

    • @KunalKushwaha
      @KunalKushwaha  ปีที่แล้ว +38

      Wow, thank you!

    • @deveshkarde8361
      @deveshkarde8361 ปีที่แล้ว +10

      ​@@KunalKushwaha Hey there is ArrayIndexOutOfBoundsException in Q5 1:57:13 . Please check once, as target>arr[end] and value of "end" goes beyond the length of the array while doubling it.

    • @suvarnat4999
      @suvarnat4999 ปีที่แล้ว +3

      @@deveshkarde8361 even i have the same doubt ,when i tried to get the index of an element which is at the last,it is showing index out of bounds.kindly reply to this please.

    • @sumitjha3868
      @sumitjha3868 ปีที่แล้ว +2

      i have also the same problem

    • @sayedfarzadfekrat5318
      @sayedfarzadfekrat5318 ปีที่แล้ว +1

      ​@@sumitjha3868 imagine that the array is of infinite size.

  • @harryharry2922
    @harryharry2922 ปีที่แล้ว +28

    Hey Kunal, You're a legend, NO ONE can teach DSA like you...... I've literally shared this playlist with entire computer science enthusiasts of my surroundings...... I Love You kunal.... and a big shoutout to you

  • @shivcharansinghrawat4224
    @shivcharansinghrawat4224 3 ปีที่แล้ว +190

    man.. he is no trash talker, he is the real deal

    • @harshdixit7309
      @harshdixit7309 7 หลายเดือนก่อน +2

      bro are you able to solve these question,if yes then please tell me that how can i build the logic for these type of questions

    • @atharv7353
      @atharv7353 5 หลายเดือนก่อน

      @@harshdixit7309 Practice.

    • @progdev-mz2fj
      @progdev-mz2fj 5 หลายเดือนก่อน

      @@harshdixit7309 just try time to understand easy problems and logic behind them .try to solve problem by writing first on the notebook

    • @devanshdewan2597
      @devanshdewan2597 4 หลายเดือนก่อน

      @@harshdixit7309learn the logic from the solutions/discussions and code it on your own . You will build the logic slowly after following this method. After some time you will solve questions on your own . The idea is to keep going

    • @TheDailyWordChannel
      @TheDailyWordChannel 3 หลายเดือนก่อน

      @@harshdixit7309 Bro If you cant build a logic to any problem try to understand and find what the requirement - first then check all the possible ways (here we can check individually means linear search if so more comparisons so we opt binary search) if you didn't get idea then go for the solution in that you see why they only choose this you need to ask yourself and clarify.

  • @harshverma1221
    @harshverma1221 3 ปีที่แล้ว +90

    Literally man 4 hours 🔥🔥,its not a joke , this dude is seriously on another level hats off bro..

    • @harshdixit7309
      @harshdixit7309 7 หลายเดือนก่อน

      bro ,please tell me that how can i build the logic for these questions

    • @notshubhm
      @notshubhm 15 วันที่ผ่านมา +1

      @@harshdixit7309 understand conditional, loops and working of DS and then dry run each line

  • @rahulghatge4425
    @rahulghatge4425 4 หลายเดือนก่อน +1

    Till now it is the best course for the DSA I get on youtube. I was not able to solve a single DSA question, but now it seems that I can solve a lot of questions. Even my logic has been increased. Thanks to all Kunal Kushwaha .

  • @ayushtamra1800
    @ayushtamra1800 3 ปีที่แล้ว +834

    Other youtubers: Puts a video "Learn DSA in 4 hours", for selling their paid courses💸
    Kunal: Puts a video "Learn binary search in 4 hours in detail" for the community, so that you don't miss a single thing in your interview.
    This is what makes him different from other youtubers✨
    Thanks man such a detailed video🔥🔥

    • @gauravgautam5963
      @gauravgautam5963 2 ปีที่แล้ว +15

      what about now. In this video he talk about GRAPH, DP 2:19:11 time but still it's 7 months . Now just tell me is this the community work as of now he is just taking sponser and sponsers

    • @bahultyagi
      @bahultyagi 2 ปีที่แล้ว +3

      @@gauravgautam5963 AGREE BRO

    • @dillirajtimalsina
      @dillirajtimalsina 2 ปีที่แล้ว +6

      woh bahut ghamandi he vai

    • @yogeshyts
      @yogeshyts 2 ปีที่แล้ว

      @@dillirajtimalsina time ni h uspe abhi bc full time krta h job

    • @NormieCyrox
      @NormieCyrox 2 ปีที่แล้ว

      @@bahultyagi sab harami hai bhai......ek point pe ake inhe alas ane lagta hai

  • @masteradvisor594
    @masteradvisor594 8 หลายเดือนก่อน +317

    1.1 million views and how people are not even giving like. Seriously this people dont deserve such content.

    • @swathi_bee4
      @swathi_bee4 7 หลายเดือนก่อน +6

      exactly

    • @debjitdas1470
      @debjitdas1470 6 หลายเดือนก่อน +2

      true bro only few deserve these

    • @Ankit_Maurya_12
      @Ankit_Maurya_12 6 หลายเดือนก่อน +1

      Bro Exactly..🙏🏻🙏🏻

    • @coolgadgets89
      @coolgadgets89 4 หลายเดือนก่อน +6

      you can't end the video in one time so one person gives 10-20 views okk?

    • @masteradvisor594
      @masteradvisor594 4 หลายเดือนก่อน

      @@coolgadgets89 it doesn't work like that. If it did people would just write scripts for fake views. TH-cam is much smarter than you

  • @maharshisoni389
    @maharshisoni389 ปีที่แล้ว +11

    I am 9 years experience java developer but before watching this video dsa i was not comfortable but moment of joy was i paused video on moutain array question and i tried on leetcode and it passed successfully i am so happy thanks god bless you hare Krishna radhe radhe ❤

  • @hryuz106
    @hryuz106 6 หลายเดือนก่อน +2

    Watched to binary search, and I can guarantee that it is the best course. The teaching methods, or anything. Fully understandable. Far better than any other pain courses. I wish I found this channel earlier.
    YOU ARE JUST AMAZING!!!!

  • @abhra007das8
    @abhra007das8 3 ปีที่แล้ว +1161

    *The best Binary search lecture*
    Your way of approaching a problem is next to none.. really appreciate the effort u are putting to produce such quality contents for us..hope this gem 💎 reaches to millions who are starting their journey in coding.
    *Thank you very much Kunal.*

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +123

      Thank You!

    • @MayIComin999
      @MayIComin999 3 ปีที่แล้ว +6

      @@KunalKushwaha will you continue for fully lecture or not?

    • @thedoomsday8659
      @thedoomsday8659 3 ปีที่แล้ว +29

      Hey Kunal really great content , but a feedback from me , don't brag about same thing free , quality content and all over and over again , just mention it start of the video or probably in the end ,

    • @akash-
      @akash- 3 ปีที่แล้ว +1

      Hey bro if you understand the last que can you please clear my doubt: I didn't understand why in the que11 (when m=n) the minimum answer is max value in array because as kunal explained first, we find the sum of all the subarrays and then the answer is the minimum amongst them so it should be minimum value in the array?

    • @SKILLCRYSTAL
      @SKILLCRYSTAL 3 ปีที่แล้ว +38

      @@thedoomsday8659 why won't he, he is doing this for free and it's his choice how much time he would say , you just focus on learning.

  • @ogungbemioluwamayowa658
    @ogungbemioluwamayowa658 2 ปีที่แล้ว +35

    My fears for Java algorithms have literally been dissipated. It's a great work you've done here. Can't thank you enough Kunal

  • @tharun1121
    @tharun1121 2 ปีที่แล้ว +18

    This Bootcamp made me to lose the fear of programming and solving the problems. The quality of teaching is gold. Kunal we also want videos for BinarySearch Tree and Trees ,Dynamic Programming . Thank you for this amazing Bootcamp.

  • @shitalkumari4383
    @shitalkumari4383 8 วันที่ผ่านมา +1

    Generally I don't comment on any videos or i do it very rarely(once in a yr) but to be honest your videos are worth getting and the concepts are explained deeply...so yeah this time I am enjoying learning sir..Thank you so much and keep posting

  • @rajiulislam8019
    @rajiulislam8019 3 ปีที่แล้ว +77

    The thought process that Kunal has build in my mind, i am literally coming up with my own approaches.. which i used to fear earlier.
    The way he builds the intuition, opens the road to so many approaches.. Kunal is a gem :)

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +23

      more to come

    • @nomadd749
      @nomadd749 3 ปีที่แล้ว

      @@KunalKushwaha great work!

    • @rishitamandal2492
      @rishitamandal2492 2 ปีที่แล้ว

      true i agree

    • @pratham623
      @pratham623 2 ปีที่แล้ว

      @@KunalKushwaha please complete the remaining data structures and algorithms .

  • @sukritisinha682
    @sukritisinha682 2 ปีที่แล้ว +11

    I got into CP cuz people told me if you want a good company Cp is the only way, I struggled a lot with it, even now I can't solve many problems. Browsed through a ton of courses on youtube and litreally gave up in between cuz I got bored, I was so frustruated because I could not solve a basic question and it was super stressful. I found your channel and the only thing I feel is why didn't I know about you earlier.Finding you is like doobte ko tinke ka sahara . So much details, such easy explanation. You are the best! would say you inspire me a lot. I am in my second year . :)

  • @aasthasarkar4986
    @aasthasarkar4986 3 ปีที่แล้ว +7

    Never skip the videos in which he discusses the interview questions. I was always aware of the algorithms but was never able to come up with the correct approach. After seeing his videos it has helped me a lot with my approaches. Thank you so much. God bless you!

  • @TempMail-ml7xp
    @TempMail-ml7xp ปีที่แล้ว +84

    I was stuck in lot of courses including free and paid . Your way of teaching is unique and very helpful ,this playlist is far better than those overhyped courses . I am from non tech background with zero coding skills , now I'm able to solve easy and medium problems which was nightmare for me .Kindly finish this course , this is currently the best course for java and DSA. Thanks a lot for making this course.

    • @KunalKushwaha
      @KunalKushwaha  ปีที่แล้ว +30

      Glad you like them!

    • @Jaibalayya-ju1gf
      @Jaibalayya-ju1gf 10 หลายเดือนก่อน +6

      pls continue dsa playlist
      @@KunalKushwaha

    • @Deepak-ls1yt
      @Deepak-ls1yt 7 หลายเดือนก่อน +2

      Glad your video is the saviour for me in learning the DSA part heart felt thanks for you @Kunal kushwaha!❤️

  • @varunpatel5591
    @varunpatel5591 13 วันที่ผ่านมา +1

    Great Guy, We need people like Kunal. Age does not matter for teacher. Who ever is best in teaching we need those teachers.

  • @HIZ3N
    @HIZ3N 2 ปีที่แล้ว +32

    Being a Bsc CS graduate , this course is really helping in finding my love for programming again. I'm really loving the course Kunal, Thanks a bunch.

  • @heavenlyway5824
    @heavenlyway5824 3 ปีที่แล้ว +69

    What a series, Kunal, when I see someone teaching other than you in other platforms. I always think how amazing your DSA contents are and their teaching is not even comparable with your teachings.
    You're huge asset to the computer science community.(I usually don't comment or like but for you you absolutely deserve it man for every DSA videos).

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +7

      I know, thank you ❤️

    • @zadnarock5912
      @zadnarock5912 2 ปีที่แล้ว +5

      @@KunalKushwaha Well that I know is a bit narcissistic

    • @__LAmar__
      @__LAmar__ 2 ปีที่แล้ว

      @@zadnarock5912 not really

  • @jayachithra1816
    @jayachithra1816 3 ปีที่แล้ว +8

    This course is a real gold mine for anyone trying to learn DSA, and this is coming from someone who is working in the Tech field for almost 10 years now. I wish I had this when I was in my Bachelor's.

    • @prabingupta7438
      @prabingupta7438 2 ปีที่แล้ว +1

      did you find qany solutions to bypass the error ?

  • @VanshAgarwal-vi6et
    @VanshAgarwal-vi6et หลายเดือนก่อน

    Has to be one of the best DSA courses available online. Before watching this I used to believe I know a lot about binary search but when I tried solving the problems he gave, it completely blew my mind. Learnt a lot from the videos. Thank you so much for this excellent content.

  • @vineetrana9842
    @vineetrana9842 3 ปีที่แล้ว +4

    Hey kunal i started following your course and now I am literally in love with coding. I wake up everyday and watch your videos and study religiously like an addiction. So thank you for that and wish you a goodluck in your journey.

  • @ikrasiddiqui1264
    @ikrasiddiqui1264 2 ปีที่แล้ว +49

    The best explanation anyone could get whether free or paid.. Amazing work Kunal!!! Humble request to please upload the remaining topics of the series, I could not get this type of explanation on any other channel. PLEASE PLEASE!!!!

  • @akashshetty4509
    @akashshetty4509 6 วันที่ผ่านมา +2

    For the first time I'm laughing while learning something. Man is a genius.

  • @Rahulyadav-lv7dh
    @Rahulyadav-lv7dh 3 ปีที่แล้ว +54

    Some incidents change people life forever ,encountering kunal's channel accidentally is one which changed my life
    Thanks mate for awesome content
    You are doing great don't let anybody else tell you otherwise

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +9

      Thank You bro ❤️

    • @dashlife8838
      @dashlife8838 3 ปีที่แล้ว +8

      Nothing is an accident. The fate of humans is controlled by Algorithms.

    • @skykid6485
      @skykid6485 2 ปีที่แล้ว +2

      @@KunalKushwaha you litreally changed my life for good bro

  • @ZainAli121-s6p
    @ZainAli121-s6p ปีที่แล้ว +7

    If you are new to this course and confused whether to start or not.
    Believe your problem solving technique will be changed and you will be like- "Oh wow how easy it is" after watching this. So clear all your confusions and get started with this masterpiece. It will change your attitude towards problem solving

  • @deveshb793
    @deveshb793 3 ปีที่แล้ว +24

    Just completed watching and solving all the questions and honestly, you've completely changed my perspective at approaching a question, thank you so much for putting in so much efforts and providing such amazing and high-quality content for free!

  • @DhanashreePhalke-w3r
    @DhanashreePhalke-w3r 26 วันที่ผ่านมา

    Kunal you are absolutely spot on-your entire DSA course on TH-cam is simply the best! The fact that such high-quality content is available for free is truly incredible. It’s rare to find someone who can teach so effectively and make complex concepts so easy to understand.

  • @balumotukuru
    @balumotukuru 3 ปีที่แล้ว +15

    I will start learning programming even if I am an 80 year old if the instructor is sooo good !! People can steal money and other material things but they cannot steal knowledge. Kunal - Goddess Saraswati is with you. Keep rocking !!

  • @riyaxgupta
    @riyaxgupta ปีที่แล้ว +17

    Nothing is tough when Kunal is teaching. Also you are showing what perfection really is through the quality of your content.

  • @abhishektoppo2941
    @abhishektoppo2941 ปีที่แล้ว +6

    Kunal is, without a doubt, the best teacher I've encountered so far. He has an incredible ability to inspire us to believe that even the seemingly impossible is achievable.

  • @luvkhanna675
    @luvkhanna675 22 วันที่ผ่านมา

    the first time i came here i thought that you confused me at some part of your lecture gradually when i keep watching your more videos it now become addictive your way to tackle problems and explaining is way beyond amazing.. happy to learn from you

  • @dipeshjadhav1546
    @dipeshjadhav1546 2 ปีที่แล้ว +17

    Mad respect for you brother. Totally falling in love with this course.. didn't realize that I have been watching this since 4 hours

  • @deepas.8509
    @deepas.8509 8 หลายเดือนก่อน +5

    anyone who feels the need to buy a course for java or dsa have obviously not seen your channel. and that is a really really sad thought cause this is pure gold. i literally have no complaints for this channel. it cannot get better than this and im just on the 15th video on a 66 videos long playlist...... at this point, ill buy your course if you ever decide to commercialize your teachings and itll still be worth every penny. please please please create more tutorials!! recommending your channels to all my friends cause youre a king.

  • @kunalgupta9088
    @kunalgupta9088 3 ปีที่แล้ว +149

    kunal be like pehle teaser de do wrna itni badi movie se dr na jaye log😂.......thanks kunal. Video on problem practice was much needed

    • @moeen007
      @moeen007 3 ปีที่แล้ว +1

      Ek dum sahi boley

  • @sivaramakrishnareddypadala
    @sivaramakrishnareddypadala 3 หลายเดือนก่อน +1

    love this playlists kunal as a cse 2nd year student from one of the top universities in india i am not able to understand what they said and i am paying huge amount to my btech ka degree but i am not getting the skills.Really this playlist is enough...Thank you bro and love you

  • @akiebnazir4264
    @akiebnazir4264 2 ปีที่แล้ว +9

    These tutorials are amazing not only for beginners but also for those who know the basics/mid-level of their programming career and Kunal is saying again and again comment on these videos it is not for his own benefit but he is really a good person with a nice and great heart who really wants to help more and more people in this field. You may find millions of lectures/tutorials even paid courses but you will not see the course like this and tutor like Kunal.... Thanks, Kunal Bro...

  • @aritrachatterjee147
    @aritrachatterjee147 3 ปีที่แล้ว +29

    Man I have no problem to say this is one of the best video I have ever watched on binary search questions , questions of each and every particular topics are covered. Kudos to you man ❤️

    • @vedanthbaliga7686
      @vedanthbaliga7686 3 ปีที่แล้ว +1

      It released only half an hour back and it's a four hour long video😅

    • @aritrachatterjee147
      @aritrachatterjee147 3 ปีที่แล้ว +1

      @@vedanthbaliga7686 I haven't watched the entire video yet I just watched the contents of the video by skipping that's what I said that each and every particular topics are covered.. I hope u got me

    • @vedanthbaliga7686
      @vedanthbaliga7686 3 ปีที่แล้ว

      @@aritrachatterjee147 Yeah

  • @saikatbishal
    @saikatbishal 3 ปีที่แล้ว +24

    Kunal is himself amazed by the way he is coming up with his explaination ideas.

  • @khushi8258
    @khushi8258 6 หลายเดือนก่อน +17

    There is no course on YT like this and no mentor can teach like this, so we want you to complete this course .Beacuse the only drawback of this course is that the couse is incomplete.
    it's a request not only from me but from many of the students those who are following you.
    ❤❤❤❤

    • @harshtyagi571
      @harshtyagi571 4 วันที่ผ่านมา

      Yes I also want him to complete it

  • @bhuvanachandra5121
    @bhuvanachandra5121 ปีที่แล้ว +43

    Some people are actually forgetting that we have to use an infinite array for Q5. In infinite array, there would be no out of bound error. Currently you are checking with finite array and that's why you are getting out of bound error. Just to clear your doubts that kunal also used an finite array in the example, also you'll definitely find the target number at one point of time if you use infinite array. So no out of bound errors

    • @Thammudu_____
      @Thammudu_____ ปีที่แล้ว +1

      Thank you

    • @mohanappriyakarunakaran
      @mohanappriyakarunakaran ปีที่แล้ว

      Thank u so much

    • @limitXbreaker
      @limitXbreaker ปีที่แล้ว +1

      how can you say that we are going to find the target element in an infinite array. Say for example your target element is 2019312 but array does not contain instead it contains number greater than this and smaller than this then?

    • @Shaheer-xs5os
      @Shaheer-xs5os ปีที่แล้ว

      @@limitXbreaker If the problem is starting to find a number in the infinite array, then there must be one... else the loop will run infinitely and the question also understands this... but even if it does not exist then it will return -1. because we are not going much further than our target range... understand the solution first...

    • @kunj8342
      @kunj8342 ปีที่แล้ว

      ​@@limitXbreakerbro we are doing binary search in chunks if target is not between start and end we will increase size of chunk and go ahead but if target is between start and end that u have said that u element smaller and greater than target so we will just apply binary search in that if target elemnt will exist u will find if not like 2019312 does mot exist so binary search will return -1 it means u don't find the target so target element does not exist in array and u will exit the method because if you have found the range in which the target elemnt exist then you will not move to next chunk or range if target is not found because if you move to next chunk target element is smaller than the start element so our condition will violate that target must be between start and end...

  • @avantikaroy5146
    @avantikaroy5146 2 ปีที่แล้ว +13

    Hello Bhaiya! I don't know if you're reading this but I have my internships coming up and there's no course better than this on earth that has been able to give me this much confidence and knowledge in dsa. First of all thank you from the bottom of my heart for this. Secondly I really want you to continue this course and cover trees, graphs and Dynamic programming. I know it takes a lot of effort to put out quality content like this but make it paid if possible, I would be the one to purchase this for sure and judging by the comments many many will. Content like this is worth paying for and justified. I hope to see more videos from you in this course :)

  • @anushree3744
    @anushree3744 3 ปีที่แล้ว +47

    "spoon feeding in the long run teaches nothing but the shape of the spoon"- point noted with thanks.
    Thank you for your effort. Kind of got how to approach binary search problems for arrays
    would be great, if you could include few problems with no arrays, like sqrt, aggressive cow, pow etc

  • @NikhilKumarSingh-c9d
    @NikhilKumarSingh-c9d 4 หลายเดือนก่อน +1

    In second year of my college I have completed DSA by watching videos of Apna College and currently in third year I came to know about Kunal Sir ,let me tell you guys the in depth explanations by him is wonderful. I came to know about about many new concepts. Thankyou sir for this wonderful series.

    • @AyanAli-lj9tt
      @AyanAli-lj9tt 3 หลายเดือนก่อน

      Bro I am in 2nd year so where should I study from apna college or here

  • @malemyengkhom56
    @malemyengkhom56 3 ปีที่แล้ว +25

    I have a gut feeling that this course/playlist will change my life 🥺❤️. You are amazing kunal 🔥❤️

  • @vedanthbaliga7686
    @vedanthbaliga7686 3 ปีที่แล้ว +20

    Just wow Kunal! I solved 5 problems and did not realize how time went. This would surely build my confidence to solve assignment problems! Target is to solve the other problems tomorrow :)

  • @yoursyasuo5868
    @yoursyasuo5868 3 ปีที่แล้ว +9

    Without a doubt, this is the best problem-solving session on TH-cam ever!!! This record is going to be broken by none other than Kunal himself, by bringing more sessions like this. No other content creator can reach this level of mastery of explanation (with fun ofcourse) and... Mazaa aa gya!!

  • @VEERU_TUF_GAMER
    @VEERU_TUF_GAMER หลายเดือนก่อน +1

    this is the greatest youtube channel for DSA ,the way kunal sir explains the things are amazing ,love the way to describe the algo, love the content you share free of cost will always be great in future always.

  • @pkknowsnothing
    @pkknowsnothing 3 ปีที่แล้ว +7

    Bro the the submission for that medium question was 100% faster than any other previously submitted solution. That blew my whole mind. You are absolutely great Kunal. Thanks for teaching us.

  • @pankajmanik7789
    @pankajmanik7789 3 ปีที่แล้ว +103

    At such a small age, you have understood concepts so well and having done that, you even delivered teaching them in again better way 😍 Thanks Kunal, keep it up 👏

    • @pasito287
      @pasito287 3 ปีที่แล้ว +5

      @@videoschannel5077 In this channel he is teaching what other teaching at the coaching institute and charges around 20k .. and I am the one of that just it ... me padhane ke baat kar raha hu

    • @mujtabahussain7015
      @mujtabahussain7015 3 ปีที่แล้ว +8

      @@videoschannel5077 coarse pura khatam nhi hua aur hagne aa gaye aap....

  • @deepas.8509
    @deepas.8509 8 หลายเดือนก่อน +6

    HOW ARE YOU TEN TIMES BETTER THAN ANY PROFESSOR/TH-camR I HAVE EVER STUDIED UNDER???? i used to absolutely hate coding cause i never understood how to think and visualize like a coder. and yet here i am. at 3 in the night, coding with ENJOYMENT!! uh... what???? so so so much love and admiration from India ❤ please dont ever stop teaching. and can you do some in cyber security and ai? very much interested in those fields.

  • @Anilkumar-reddy
    @Anilkumar-reddy หลายเดือนก่อน +1

    Hi, I have 5+ years of expirence as a java develop, I feel this course in one of the best course

  • @dhansbisht9433
    @dhansbisht9433 3 ปีที่แล้ว +6

    before this i was just aimlessly solving bs problems without even understanding what is going on but now i feel like i'm understanding it a lil more as each question passes. never felt this excitement while doing dsa questions lol thanks Kunal

  • @dinobandhuchakraborty5202
    @dinobandhuchakraborty5202 2 ปีที่แล้ว +4

    did so many online/offline java courses, but the way kunal is approaching the logics literally no one can come close to the level, i repeat NO ONE....alot of love brother❤❤❤

  • @naveengolakoti4111
    @naveengolakoti4111 2 ปีที่แล้ว +4

    After going through this course I was able to solve most of the leet code questions on my own. I really loved the way u explained about several patterns that are involved in solving most of the questions. What I can finally say is, this is the best DSA course and I'm so confident that even a paid course can't reach to even 30% of the way your teaching and the way you are dealing a problem and approaching it. And moreover the course content and structure is designed so well that a beginner can understand it. Thanks a ton Kunal.

  • @Render_Gaming07
    @Render_Gaming07 วันที่ผ่านมา +1

    This man is crazy...huge respect to you kunal sir. Hats off to you ❤
    In future if i clear job like anywhere like amazon google..
    I will contribute something from My side ...for giving this knowledge ❤🎉❤❤ lots of love

  • @PushpendraSingh-zs9gc
    @PushpendraSingh-zs9gc ปีที่แล้ว +16

    I am not so good in English communication so I always try to learn by Hindi medium videos like CWH but when I started to watch your videos you just break my assumption and really really Enjoying your course. You just simplified every thing in such way that everyone can learn by basics. Love u Bro...

  • @amanverma8258
    @amanverma8258 ปีที่แล้ว +16

    Don't have words to thank you for such an amazing course at no cost. Please continue with the series, and thanks again :)

  • @tsdineshjai8565
    @tsdineshjai8565 3 ปีที่แล้ว +6

    I just want to say this, may God bless you more Kunal, so that you can do more good things to the community. I have to admit this course is the best one available in the market.

  • @StuTechService
    @StuTechService 16 วันที่ผ่านมา

    Thank you so much Kunal, untill i find you what i believe I am poor in data structures and algorithms. You showed me the path to enhance myself. You are the best teacher so far i come across. Thank you again Kunal

  • @PROTECHRAHUL
    @PROTECHRAHUL 3 ปีที่แล้ว +48

    I wasn't studying dsa because i was thinking i won't be able to do it. But his explanations are making me feel like Can Crack FANG.
    You got our respect Brother.

    • @siddhartharaja9413
      @siddhartharaja9413 3 ปีที่แล้ว +3

      Amazing brother, many will definitely agree with you,also huge respect to our legendary mentor!!😊😊

  • @vanshajduggal
    @vanshajduggal 3 ปีที่แล้ว +9

    You are genuinely one of the best creators who is actually really passionate about what you are doing.Great job man

  • @StrongCookingGame
    @StrongCookingGame ปีที่แล้ว +7

    I don't normally like/comment/subscribe. But this guy deserves the best. The way he teaches, the way he explains complex things , his examples ... Everything is so accurate that I am now motivated to prepare and start applying in FAANG companies

  • @rockstarsubrat7734
    @rockstarsubrat7734 5 หลายเดือนก่อน +5

    kunal is right -- this is the amazing video for free in You tube >> I thing no one can teach like this

  • @shubhanginijain2910
    @shubhanginijain2910 3 ปีที่แล้ว +8

    Current situation: my mind is acting like a hallway so many ideas coming regarding the question, probably helping me to find logic. Best problem solving practice.

  • @depressedguy3566
    @depressedguy3566 3 ปีที่แล้ว +37

    Commenting only after completing the 4 hr video, this course that you are creating ( if completed ) has the potential to create history. I've watched most of the lectures available on TH-cam regarding BS. The only tutorial somewhere near close to this was Aditya Verma's binary search course. Absolutely loved this tutorial. Waiting for you to explain advanced topics. I just hope you'll complete the course. Fingers crossed. Thanks for busting myths and the hype about CP. Kudos to your efforts. Waiting for your next video

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +6

      Thanks!

    • @twi4458
      @twi4458 3 ปีที่แล้ว +1

      In 1st Question: What if my arr is like this arr[] = {4,5,56,81}
      and target element is more than 81 like "82"; This will return Garbage value. So what is the solution to this corner case?

    • @depressedguy3566
      @depressedguy3566 3 ปีที่แล้ว +4

      @@twi4458 refer to timestamp 44:00

    • @Rinkeshkumarsinghh
      @Rinkeshkumarsinghh 3 ปีที่แล้ว

      @@twi4458 yes this is my question also

  • @vikranttyagi5232
    @vikranttyagi5232 3 ปีที่แล้ว +6

    Kunal is absolutely killing it with his way of solving these problems and making it easier for others to understand. Thanks a lot man.

  • @Mosesdaniel77
    @Mosesdaniel77 6 หลายเดือนก่อน

    Coming from a non-CSE background, I was eager to learn DSA but didn’t know where to start. On the recommendation of my classmates, I began with your playlist, starting with arrays, which greatly expanded my knowledge. Your encouragement, especially when you say that watching your lectures can help crack companies like Google and Amazon, has always motivated me. Thank you, Kunal. May God bless you!

  • @tanibhatia6753
    @tanibhatia6753 2 ปีที่แล้ว +17

    The best educator ever!!❤
    I really am very grateful that I came across your channel. You have made coding so easy!
    One humble request Please upload the rest of the video as well because its really difficult to understand from other creators and nor do I feel like watching their videos. Don`t leave us in the middle this way Kunal.🥺

  • @harshmathurx
    @harshmathurx 3 ปีที่แล้ว +5

    Good stuff, I have been through 4 courses for DSA and this one is with the best explanation. Kunal takes his time to explain everything from scratch. Also, he constantly reassures that FAANG is not that hard to get it. No other course goes through leetcode in such detail. Kunal's analogies are also better to grasp because he's as young as the students watching this course so his perspective has a fresher take

    • @immayurpanchal
      @immayurpanchal 3 ปีที่แล้ว

      @Harsh Mathur, Which 4 courses you've done of DSA?

  • @akhilrajnambiar2080
    @akhilrajnambiar2080 3 ปีที่แล้ว +5

    Take a bow Kunal!! I had tried solving about 15 - 30 binary search problems, but was still not able to figure out when and how to modify the while loop. Your explanations are the best by far of any TH-cam tutorial I have seen. Thanks a lot for your efforts. 💯💯

  • @sahilkishore8815
    @sahilkishore8815 2 ปีที่แล้ว +26

    The best course I have ever seen on TH-cam . Hatsoff to you , brother. You are amazing !!🤩🤩Keep doing this great work for the community . You are a living legend.

  • @pixelpirateplays
    @pixelpirateplays ปีที่แล้ว +4

    No paid course is better than this!! beleive me.. I have bought some top rated courses.. nobody comes close to Kunal when it comes to simplifying things...
    I'm loving every sec of this PURE masterclass ❤️

  • @SurajYadav-cs3fz
    @SurajYadav-cs3fz 3 ปีที่แล้ว +6

    I'm in love with this course.......first i thought i would never watch such long videos ......but slowly i understood the depth of knowledge these videos are providing......best course across the all the educational platforms. Thankyou Kunal Sir.

  • @Udaykumar-jc7tv
    @Udaykumar-jc7tv 2 หลายเดือนก่อน +1

    This guy is Menace in coding stuff
    And providing this quality for free
    Such a great treasure for students like me who are getting iiritated for some junk stuff and addicted to his videos
    thank u so much Bro

  • @tejapabba2552
    @tejapabba2552 3 ปีที่แล้ว +6

    I never seen tutorials like yours Kunal. Quality and quantity was superb .mark my words this channel will cross 1 million subscribers very soon.

  • @subham3020
    @subham3020 ปีที่แล้ว +8

    Outstanding lecture, and that outstanding word become less outstanding before the beauty of your explanation. I blindly recommend anyone about this course. This binary search lecture should be the most popular Binary search lecture on the Internet. Hats off to you Kunal. You've inspired me to get into Coding. THANKS!! 🙌

  • @Happiness_sonia
    @Happiness_sonia 9 หลายเดือนก่อน +5

    I was about to buy some paid course for dsa and was in search for same.. by god's grace i found you.. thanks a ton for providing another level content to us with amazing teaching style 🎉🎉🎉

    • @gauravranade1128
      @gauravranade1128 8 หลายเดือนก่อน

      For real , same happened with me , the way he spoke with confidence in his first vid in the playlist created an impact which forced us to try this god level course!!

  • @bindubeesetti8732
    @bindubeesetti8732 6 หลายเดือนก่อน

    You are a maniac Kuhal!! With so many confusions in head about how to start dsa with java, I was juggling around with many videos and I was chaotic with how I should start. I landed up here and you are just my GOD for dsa. thank you very very much such a wonderful explanation. You are doing the best by contributing what you know. Teaching what you know is one of the most kind work that you are doing. thank you so very much from many people like me who intend to start dsa and learn .. your course is just one lakh work (not less than any professional level scalar academy courses)

  • @gaminghub6188
    @gaminghub6188 ปีที่แล้ว +5

    Unquestionably the finest course I've encountered; the instructor's expertise and teaching style are unparalleled. The material is presented in an engaging manner, making it accessible to all learners. This transformative experience instills genuine passion and provides invaluable skills. Highly recommend without hesitation.

    • @KunalKushwaha
      @KunalKushwaha  ปีที่แล้ว +1

      Wow, thank you!

    • @shivvratraghuvanshi522
      @shivvratraghuvanshi522 ปีที่แล้ว

      @@KunalKushwaha hey Kunal I got each and every theory properly but I can't able to solve any Problem what can I do?

    • @xarkdagor
      @xarkdagor ปีที่แล้ว +1

      @@shivvratraghuvanshi522 solve the easy level problems from assignment. If you got the theory right, you'll be able to solve them.

    • @shivvratraghuvanshi522
      @shivvratraghuvanshi522 ปีที่แล้ว

      @@xarkdagor bro problem is writing the code exactly what i think in my mind

  • @ALEXA_PLAY_VIBE_SONGS
    @ALEXA_PLAY_VIBE_SONGS ปีที่แล้ว +6

    Hey Kunal,
    I really appreciate the effort you put into delivering content in a very easy way that everyone can understand. I'm currently working in a non-tech role at one of the MAANG companies, and I've been given the opportunity to transition into an SDE role internally. I have my interview in two months, and I wanted to say a big thank you for your amazing and helpful content. It's been invaluable in my preparation for the interview.
    I'm particularly grateful for your clear and concise explanations of complex concepts, as well as your focus on practical application. Your videos have helped me to solidify my understanding of fundamental of DSA and I'm confident that they will be a major asset to me in the interview.
    Thank you again for your dedication to helping others learn. I'm excited to continue using your resources as I prepare for my interview, and I'm hopeful that I'll be able to make the transition into an SDE role.

    • @hacktivist
      @hacktivist ปีที่แล้ว +1

      All the best for your interviews. I hope you crack them.

    • @pxnishant
      @pxnishant ปีที่แล้ว

      I hope it went well :)

  • @jiteshkanojia6824
    @jiteshkanojia6824 3 ปีที่แล้ว +58

    As an ECE student struggling for IT jobs I find this content really Amusing and best of all it doesnt for one moment seem boring or redundant every bit is interesting in its own way. Thanks Kunal Bhai

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +11

      Happy to help!

    • @OnlyCompleteSolution
      @OnlyCompleteSolution 3 ปีที่แล้ว

      @@KunalKushwaha I am also ECE student, your videos very helpful ❤️
      Thanks 👏👏

    • @AmandeepSingh-cv5qz
      @AmandeepSingh-cv5qz 3 ปีที่แล้ว

      hey jitesh lets connect,im also on the same page as u:ECE graduate,unemplyoed

    • @funtrap2289
      @funtrap2289 2 ปีที่แล้ว

      @@KunalKushwaha Bro
      If I debug the program it shows
      Discontinued from VM, IP socket...
      How to solve this in intellij

  • @FareedSayyad-qg6ud
    @FareedSayyad-qg6ud 21 วันที่ผ่านมา

    Great content I am learning Java while I am 2nd year and guess what your course is so fantastic ,I wasn't able to figure out how to solve problems. Now I am the java master in my whole class in the college. All thanks to you Kunal you are just the guy that is was meant to learn programming from. Lots of love, stay safe and keep pushing forward.❣❣

  • @harinazrekar4239
    @harinazrekar4239 2 ปีที่แล้ว +4

    please continue this playlist kunal bhaiya .. we know that youtube is not your main income stream it's second income stream and whatever revenue happens you just put that back into the community but we need more videos cuz we dont understand anything from other youtubers .. you're , you were and you will always be the GOAT ..

  • @yashrajgupta7743
    @yashrajgupta7743 2 ปีที่แล้ว +6

    Best Binary search lecture ever..
    Kudos to Kunal for making such a quality content and making dsa a fun..

  • @isaacreyes4915
    @isaacreyes4915 2 ปีที่แล้ว +7

    i am highly enjoying the siderants about competitive programming and how easy these questions are even though I would absolutely fail some of these questions myself. Hearing you talk about how there was/will be a section on trees, graphs and DP gets me excited. I know you are probably busy but hopefully we will get to see those lectures some day. Honestly, it is criminal that you are offering all this knowledge for free. I have read so many books, all offer nothing compared to your lectures. Thanks for everything sofar!

  • @HarshTiwari-lk3kt
    @HarshTiwari-lk3kt 6 หลายเดือนก่อน

    Very nice video I want to tell mai pehle apna collage se padhti thi Kyoki us mai choti video hoti thi par jab aap recursion par jaapge kuch samaj nhi aayega and this guy tells everything in detail so hats off to hi.

  • @gaurishaaaa
    @gaurishaaaa ปีที่แล้ว +5

    I'm finally able to combat my dsa fear because of your course. I'm in my second year of btech rn from a tier 3 college following your videos and prepping up for ahead. Thankyou Kunal for the best dsa course.

    • @ETteam-v1c
      @ETteam-v1c ปีที่แล้ว

      us

    • @moviesflix7082
      @moviesflix7082 ปีที่แล้ว

      bhai have you completed this series?

    • @moviesflix7082
      @moviesflix7082 ปีที่แล้ว

      @@ETteam-v1c bhai have you completed this series

  • @diptesh_roy
    @diptesh_roy 3 ปีที่แล้ว +8

    1:52:30 - This is the best part 🤣🤣🤣
    Best Binary Search Video 🔥🔥🔥
    Totally changed my thought process to approach any bs problem...🙇🙇🙇
    Thanks Kunal for all your efforts 🙇🙇🙇 Your video quality (4k)🥺 and teaching is NEXT LEVEL 🔥🔥🔥

  • @sarthakyadav9950
    @sarthakyadav9950 3 ปีที่แล้ว +4

    I love he is trying to teach us every single pattern of questions from a particular topic

  • @mounikareddy1986
    @mounikareddy1986 หลายเดือนก่อน

    "Initially, I started searching for Java programming courses to learn and found several that I watched. However, when I discovered Kunal Kushwaha's playlist on Java, DSA, and interviews, I truly regretted not starting with it earlier, especially after watching the other courses. His clear explanations and strong grasp of the topics made it easier for beginners to learn, and he made everything interesting. I highly recommend this playlist to all new subscribers. It will completely change your perspective on the course, and you won’t regret choosing it. I wholeheartedly recommend it to newcomers."

  • @omkarmishra4108
    @omkarmishra4108 ปีที่แล้ว +18

    This is called quality education. You have been deep diving into every minute details where every individual does not expect to be so good while learning from a platform like TH-cam. Thanks to your effort Kunal. Keep making such kinda stuff❤👌🤞You are a great teacher and I mean it!❤️

  • @nidhirani8559
    @nidhirani8559 3 ปีที่แล้ว +20

    Best thing about this bootcamp is assignment questions collection for practice and the sequence of lectures (theory :practice i.e 1:4).Proper required content in proper sequence. Keep going . Your efforts also motivate us.

    • @chclatysnystyloonheartlesz3159
      @chclatysnystyloonheartlesz3159 3 ปีที่แล้ว

      Where is the questions for practice?

    • @nidhirani8559
      @nidhirani8559 3 ปีที่แล้ว

      @@chclatysnystyloonheartlesz3159 Github link given in vedio description check it out.

  • @hemlatasah856
    @hemlatasah856 2 ปีที่แล้ว +4

    You made everything look simpler...explained everything in detail even minor things thats what make it different from other youtube videos.4 hours of valuable teaching! That will stick to ur brain throughout your life 😁