The Best Method To Solve DSA Questions 🔥| Importance of revision | Maintaining a DSA Notepad 🗒️

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 116

  • @SinghVivek-gz5wv
    @SinghVivek-gz5wv 2 місяці тому +2

    I learned the tips from the video 👇:
    * Follow a course or any sheet (striver)
    * Check Constraint
    * Think about edge case before going to start code
    * Max 1 hour per question
    * Revise daily and making short note on unsolved questions with 2-3 lines
    👉 Consistency must
    Thanks Bhaiya

  • @wajihakhan8618
    @wajihakhan8618 24 дні тому

    Thankyou Sahil...It literally helps me to remember every problem.

  • @coding8696
    @coding8696 6 місяців тому +1

    Very important. I also used this strategy for revision-revising all the questions i couldnt solve weekly. I dont see anyone in the coding community saying this. Thank You!

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  6 місяців тому

      My pleasure !

    • @coding8696
      @coding8696 6 місяців тому

      gave an interview for a big tech firm few days back and got 2 same to same questions from my revision list!@@SahilAgrawal-0911

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  6 місяців тому

      yeahh, lessgoo !!❤️
      which company was it ?

  • @staturestatus
    @staturestatus 10 місяців тому +2

    bhaiya i know exactly why are you so much happy today...

  • @tusharsingh7927
    @tusharsingh7927 3 місяці тому +1

    How to practice?
    Means..jese Maine aaj "Book allocation" kiya tutorial dekh kr. Toh pata toh chal gya aesa approach hai.
    Pr sab bolta hai ki practice kro...
    Par practice kre kese...mtlb dsa ka solution dekh kr...phir usko hi kre?
    Pata nhi apko samjha nhi paa rha hu..
    log bolte h 2-3 baar practice kro...
    Simply mai bolu toh... questions ko practice kese kru ki next time bhul naa pau..

  • @khushh.i
    @khushh.i Місяць тому +3

    Bhaiya, do we need to know all the approaches of questions(from brute to optimal) ?
    or 1-2 approach is ok??pls ans this, I'm really confused.

  • @rwordspecialist6734
    @rwordspecialist6734 3 місяці тому +1

    Pls make a video on how to understand constraints. Thanks keep guiding us.

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  3 місяці тому +1

      just look at the constraints, and decide whether you can go upto O(n^2) solution, or O(nlogn) solution or only O(n).
      if n

  • @vinodbarti9237
    @vinodbarti9237 2 місяці тому

    Such A WonderFull Video

  • @rohitvhanmore8742
    @rohitvhanmore8742 7 місяців тому

    Bhai mera revision ka hi issue tha jo aapne solve kardiya.. mein 6months se 3 hi topic pe stuck hu kabh se
    Thank u brother 😢🥲

  • @harshilandhariya7799
    @harshilandhariya7799 3 місяці тому +2

    Thank you bhaiya❤

  • @khushhal_soni
    @khushhal_soni Місяць тому

    Great strategy bhaiya!

  • @believeinyourself811
    @believeinyourself811 Місяць тому

    Thank u Guru G ❤

  • @RakeshSingh-vl2mz
    @RakeshSingh-vl2mz 6 місяців тому +1

    U got a subscriber

  • @UzairKhan-kn2rw
    @UzairKhan-kn2rw 4 місяці тому

    so much helpful strategy...thanks a lot

  • @suyashtripathi1818
    @suyashtripathi1818 9 місяців тому +1

    Thanku bhaiya 😊 i am follows yor tips .

  • @prathamjiwnani6419
    @prathamjiwnani6419 3 місяці тому

    Very helpful bhaiya
    Thank you ❤

  • @ArushiRoy2823
    @ArushiRoy2823 7 місяців тому +1

    Semester exam ke time pe to gap ajate hai bhaiya , sem ka prep + jo jo din exam chalega , tab almost 1.5 month ka gap ban jata hai , aur lagta hai pehle kiya huya chez vul gayi iya thoda flow nhi rahe ..... To is time pe to consistent nehi rehe pate , to iska solution keya .... Sem ke time pe bhi coding ke leke 1 hour iya 2 hour bethe rahogi to sem ka prem mai prblm hoga na ..... I am in the 5 th sem

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  7 місяців тому

      I have made a video on how I managed to score a 9+ CGPA with DSA in IIT, you can watch that.

  • @anjudimpu468
    @anjudimpu468 9 місяців тому +1

    Valuable information. Thanks a lot

  • @meghshah6643
    @meghshah6643 10 місяців тому +3

    Bhaiya agar ham playlist dekh rahe like striver tree or graph playlist to hame vo video dekhane se phele try karna chahiye ya fir ekbar Puri playlist finish kari deni chahiye(with writing code not only watching ) our uske bad practice karni chahiye leetcode pe different question ke . I hope aap ko mera question samaj me aa gaya hoga please reply dena bhaiya

    • @porasshrivas641
      @porasshrivas641 10 місяців тому +1

      Yahi mera question hai bro

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  10 місяців тому +1

      video dekhane se pehle khud try karna chahiye
      agar solve ho gaya toh bhi video ko dekho because maybe striver ne kuch acha method bataya ho
      and agar solve nahi hua toh obviously video dekhna he hoga

  • @ProTipsQ
    @ProTipsQ 10 місяців тому

    Awesome bhaiya ❤

  • @ahsan4u2u
    @ahsan4u2u 8 місяців тому

    Well Said

  • @sakshisahu3200
    @sakshisahu3200 10 місяців тому +3

    Really, helpfull I also followed this technics😊

  • @pradyumnmulegaon385
    @pradyumnmulegaon385 10 місяців тому +1

    Hey bro...ur comtemt is really gud...even iam doing dsa since last month...the thing is actually iam facing problem with coming up solution..like i keep on solving...but still i cant solve any medium questions on my own...like either i have to check the solutions...or go to discussions only...likr i feel bad ke...ek bhi sawal hamse nahi ban paa raha hai...hume toh solution he dekhna padh raha hai..can u give any suggestions tht did u face the same problem...nd how did u over come from it..

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  10 місяців тому +3

      see, mainly this is happening because your fundamental concept is not clear.
      First clear that, and solve easy questions, once you get comfortable with that, then only jump to medium ones.
      and dont get frustrated, it happens, with practice, you will get better :)
      I hope this helps.

  • @riteshjadhav8983
    @riteshjadhav8983 10 місяців тому +1

    Bhai story formate questions ko kaise takle KR mujhen dsa ata h but TCS Wipro companies story formate m questions puchte hai even some of the questions in leetcode they ask questions in story formate😮

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  10 місяців тому

      for that you will need to practice story format questions
      the best source is to practice questions from codeforces / leetcode.

  • @Codenow10222
    @Codenow10222 3 місяці тому

    hi bhaiya please answer my question
    1 - I am a and have started dsa with arrays so how much (easy , medium , questions ) of each topic should i do before moving on to the next?
    2 - I am skipping questions which requires sorting searching hashmaps...as i am not familiar with those topics so do you think this approach is right?
    and thanks for the video

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  3 місяці тому

      1. I have made a video, you can check that out: ua-cam.com/video/JxIqOIa9bCI/v-deo.html
      2. you can learn these, wont take u much time.

  • @user-ev7rp6mq4p
    @user-ev7rp6mq4p 10 місяців тому

    thankyou so much ..helpful..

  • @arfangalib3070
    @arfangalib3070 5 місяців тому

    thanks

  • @ruhifarhath727
    @ruhifarhath727 6 місяців тому

    thank u bhayya =)

  • @bharathyadav7614
    @bharathyadav7614 2 місяці тому +1

    Iam unable to solve even one question so should i revise every problem which i do daily😢😢

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  Місяць тому +1

      have you just started your dsa journey ?

    • @bharathyadav7614
      @bharathyadav7614 Місяць тому +1

      @@SahilAgrawal-0911 yes I have started... Hardly I was able to solve in brute force approach for few questions.

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  Місяць тому +1

      a common problem which beginners face no worries

    • @bharathyadav7614
      @bharathyadav7614 Місяць тому +1

      @@SahilAgrawal-0911 can I meet you iam also from Hyderabad...

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  Місяць тому +1

      oh naice, which place

  • @ayeshashaw5304
    @ayeshashaw5304 4 місяці тому

    video start from 2.25

  • @lyricalboy9281
    @lyricalboy9281 10 місяців тому +11

    Bhaiya Jo beginner hote hai unse toh easy level questions bhi nhi bante 😅

  • @DevHudda-sy3ko
    @DevHudda-sy3ko 10 місяців тому +1

    bhai questions ke patterns kaise pta karre ki kya pattern h || or algorithm alag se karne padege kya

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  10 місяців тому +1

      recognizing the patterns will only come to you naturally when you solve good number of questions. practicing is the key.
      For DSA, yes algorithms bhi karne padenge.

    • @DevHudda-sy3ko
      @DevHudda-sy3ko 9 місяців тому

      ​@@SahilAgrawal-0911 bhaiya algorithms kha se pdhu ??

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  7 місяців тому

      youtube pe mil jayenge jo bhi algorithm padhna hai vo

  • @mohitchoubey7053
    @mohitchoubey7053 9 місяців тому +1

    Bhaiya I am in third year (5th sem) now and I know only a little bit of array ,string ,searching and sorting etc... can you guide me how can i make myself better in dsa in less amount of time as I am also learning web Development ?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому

      you can't become better in any field by giving less time to it.
      Pick one thing, either DSA or development, and dedicate all time to it.
      I would suggest pick a good DSA course (either free / paid) and start learning it.
      ua-cam.com/video/UAg5zf0lNKk/v-deo.html

    • @mohitchoubey7053
      @mohitchoubey7053 9 місяців тому

      @@SahilAgrawal-0911 sir I have love babbar dsa course so is it enough that I only solve the question given in the course(almost 250 question is given) or should I do more question for a given topic?

    • @tushar404
      @tushar404 9 місяців тому

      ​​@@mohitchoubey7053bro uare in which college?
      I am in the same boat as u are
      Pressure kafi agaya hai
      Mujhe bhi bas basic topics ata hai
      Mera to dev side bhi utna strong nahi hai....
      Whats ur strategy?

    • @mohitchoubey7053
      @mohitchoubey7053 9 місяців тому

      @@tushar404 Gl Bajaj greater noida and you are from which college?

    • @tushar404
      @tushar404 9 місяців тому

      @@mohitchoubey7053 ipu delhi

  • @rohithakula4717
    @rohithakula4717 10 місяців тому

    I am doing DSA in python as I am already learning JS, should I do it with Java/C++ or Python is fine!? Logic would be same anywhere but what would you suggest can I continue with this!

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому

      I think python is fine, you can surely continue with this.

  • @shengki333
    @shengki333 3 місяці тому

    Bhaiya dsa constraints smaj nhi aate hai please iske liye kuch video banao ki time complexity kaise understand kare question mein

  • @KHUSHIKUMARI-gk8yc
    @KHUSHIKUMARI-gk8yc 10 місяців тому +1

    bhaiya kis app se notes banay ho? and also can you upload a tutorial for solving problems on code forces ..

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому +2

      maine google doc pe notes banaye the
      nd sure I will try to make a video of solving problem on codeforces.

  • @mdsalik9374
    @mdsalik9374 10 місяців тому +1

    Hey! Can you make a video on how to come up with a solution from just analyzing the constraints?

  • @priyanshkumar17
    @priyanshkumar17 6 місяців тому

    How to think edge cases where my approach can fail ? Please tell bhaiya... I'm your junior from IIT Delhi. Please guide...

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  5 місяців тому

      umm, just make random test cases which are a bit different from each other and try to dry run your code over that. If your code fails on 1 or 2 test cases, that means you found the edge test case and now you need to rethink about the logic. I hope it helps.

    • @priyanshkumar17
      @priyanshkumar17 5 місяців тому

      @@SahilAgrawal-0911 thank you sir

  • @vishalchandel3749
    @vishalchandel3749 10 місяців тому +1

    Dsa vs dev

  • @rohanraj2604
    @rohanraj2604 5 місяців тому

    bhaiya can please tell me how to understand contsraints how can someone think and understand it please help

  • @vibesforyou6181
    @vibesforyou6181 10 місяців тому +1

    How I know my DSA is complete...?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому +1

      I think when you have covered all the topics of DSA
      arrays, recursion, linked lists, stacks queues, hashmaps, priority queues, tries, dp, graphs, backtracking, binary trees.
      and you are able to solve leetcode medium level questions comfortably, at that time we can say that you are becoming good at DSA.

    • @shantisuma7738
      @shantisuma7738 9 місяців тому

      @@SahilAgrawal-0911 is Python good for dsa or i should choose Java which language is better for cp all are saying that Python is much slower

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  7 місяців тому

      Have made a video on this topic, please check it out.

  • @Harika_Ramesh
    @Harika_Ramesh 6 місяців тому

    Could you try to make videos on english 😊

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  6 місяців тому

      Yeah, My last 10-11 videos are in english only, you can check those out.

  • @viratadarshmishra07
    @viratadarshmishra07 10 місяців тому

    C++ me dsa correct h na.
    Thanks bhaiya.

  • @manishasaini307
    @manishasaini307 10 місяців тому

    Hi Sahil, which language did you use in your dsa?

  • @tusharsingh7927
    @tusharsingh7927 3 місяці тому

    Ek time complexity ke upper koi video hai UA-cam pr...jo smjha de ek dam clear kr de???

  • @shubhamthakur614
    @shubhamthakur614 10 місяців тому

    Could you share your notes if it possible

  • @ravichandrals4915
    @ravichandrals4915 10 місяців тому

    Brother can you please share the best DSA free resource in online

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому

      here it is. ua-cam.com/video/4qGvXFo4WVY/v-deo.html

  • @riyajadhav4714
    @riyajadhav4714 8 місяців тому

    Sir me AI ML Kr rhi hu....toh mujhe placement ke liye oython me dsa krna chahiye Ya C++ me?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  8 місяців тому

      yeah can do it in python, it is absolutely fine!

  • @utkarshdubey2433
    @utkarshdubey2433 10 місяців тому

    Can you share which editor you used and how to set your code editor for CP to take minimum time to solve CP questions?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  10 місяців тому

      I used sublime text.
      You can watch tutorials on youtube on how to setup sublime text for CP.

  • @Riamanek1
    @Riamanek1 9 місяців тому

    Is cp necessary to get into maang

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому

      when you ask this question, you are automatically one step ahead of "not doing CP"
      You can definitely solve a good amount of leetcode problems and get a good placement.
      But CP definitely gives an edge in coding rounds where you need to solve x no. of questions in a limited amount of time.

  • @anudeepkanna4533
    @anudeepkanna4533 10 місяців тому

    bhai tum 2 months course liyathana , uss me questions parllely karthe ho kya

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  10 місяців тому +1

      I took a 4 month course from coding ninjas which I completed in just 2 months.

  • @iamalsauser
    @iamalsauser 9 місяців тому

    DSA and development together.....would you suggest to do it?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  8 місяців тому

      I have made a video on this, you can check it out.
      ua-cam.com/video/AyzWxNZ8F2g/v-deo.html

  • @abhinav6726
    @abhinav6726 10 місяців тому

    Ab mje kr placement ho gyi final year me me daiict gandhinagar se hu

  • @digvijaynakum4559
    @digvijaynakum4559 9 місяців тому

    Javascript me DSA krna chahiye ?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  9 місяців тому

      I would not recommend Javascript for DSA.
      Choose C++ / java.

    • @digvijaynakum4559
      @digvijaynakum4559 9 місяців тому

      @@SahilAgrawal-0911 why ? We just need to understand DSA CONCEPT right ?!

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  7 місяців тому +1

      yeah, but there are some benefits of doing DSA in c++ / java. I have made a video on it, you can check that out.

    • @digvijaynakum4559
      @digvijaynakum4559 7 місяців тому

      @@SahilAgrawal-0911 okay thank you

  • @vivekgohel9794
    @vivekgohel9794 6 місяців тому

    Gujarati cho ? Kya na cho ?

    • @SahilAgrawal-0911
      @SahilAgrawal-0911  6 місяців тому

      ahmedabad no chu, marwadi chu, but gujarati avde che

  • @sanskarsharma9494
    @sanskarsharma9494 10 місяців тому

    ho gaya saatvik feature 💀