Solve Any Pattern Question With This Trick!

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 2 тыс.

  • @KunalKushwaha
    @KunalKushwaha  Год назад +108

    Complete Java DSA playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ

    • @ShubhamBhattog
      @ShubhamBhattog Год назад +4

      Thanku for all your efforts and all the things you are doing to help us grow, Thanku so much🥹

    • @ChokiChoklu
      @ChokiChoklu 11 месяцев назад

      ❤️🙏🏻

    • @devzone101
      @devzone101 8 месяцев назад +1

      thanks brother

    • @wadood_ul_islam6637
      @wadood_ul_islam6637 7 месяцев назад

      preparing and revising for my Interview questions you made this so much easy to understand 👍

  • @akshatpandey8571
    @akshatpandey8571 3 года назад +214

    "Before we get started i want to give huge shoutout to my course"😂😂
    Did not see that coming.Nice one.

  • @msraji1
    @msraji1 Год назад +20

    never seen a guy so cool and explained the concept in a super easy way , the way he smiled while solving is really cool.

  • @Chakree45
    @Chakree45 Год назад +14

    The reason for 0 is we are running the loop wrong number of times, instead 7 times we r running it 9 times. n = 2*n-1, and row,col < n times.

    • @dheerajbaddie
      @dheerajbaddie Месяц назад

      Also add 1 to the variable "atEveryIndex"

  • @sharath_29
    @sharath_29 Год назад +6

    Only video its not a clickbait. Even a layman could understand the concept... Thankyouuu

  • @vaasu_4552
    @vaasu_4552 Год назад +5

    solved pattern no. 5 problem, without knowing solution. with completely different but longer approach. gaining lots n lots of confidence.. THANKS KUNAL BHAIYA😄😄

  • @kanyapandey
    @kanyapandey 3 года назад +259

    No amount of words can express how fortunate I’m that I landed up to Kunal’s DSA preparation course… the way he teaches by providing every minute details & simplifying our thought process is beyond words. As intended you’re creating a revolution in history of DSA.
    PS: it will only cost ur valuable time & no other paid course will ever teach u the tricks the way Kunal did!!!
    #DSAwithKunal

    • @037_cse_jananir7
      @037_cse_jananir7 2 года назад +2

      Where can I get that course

    • @sytnoff1
      @sytnoff1 9 месяцев назад

      ​@@037_cse_jananir7udemy

    • @anindiansquirrel
      @anindiansquirrel 3 месяца назад +2

      Isn't it in java, unlucky me since I only know python:(

    • @JALDIWAHASEHATO
      @JALDIWAHASEHATO 28 дней назад

      @@anindiansquirrel found any good dsa using python courses yet?

  • @SKILLCRYSTAL
    @SKILLCRYSTAL 3 года назад +435

    pattern 31 is from hacker rank, it took me 4 hours to understand this pattern a few months before, Kunal you have explained it in such an easy way awesome. and let me tell you will not find a single explanation video on youtube that has to explain it in this way

    • @MairaPochu-kn5wu
      @MairaPochu-kn5wu Год назад +6

      That's kunal

    • @sumanmajumdar7884
      @sumanmajumdar7884 Год назад +2

      U may get it in coding wallah also

    • @rakshitjayaswal3224
      @rakshitjayaswal3224 Год назад +8

      @ranirathore4176 i solved this in 5 min. as i am beginner and i assume you are also beginner . My best suggestion to you to improve thinking, is to stop watching and start practicing

    • @nishitpadiya4120
      @nishitpadiya4120 Год назад +1

      not demotivateing or hate but I think you just need to take an another variable and put elif ladder if i/j==1 variable=4 and do it for others yeah I am a beginner in c so I think that's easy but yeah it can be time taking sometime

    • @Kiranmahi07
      @Kiranmahi07 Год назад +1

      I just taken 20 min to complete

  • @jimarrafi5881
    @jimarrafi5881 3 года назад +38

    Hey kunal, i'm from Bangladesh.Your teaching process is so great that i started it 15 days ago. My pray is always with you.

  • @shyamsundarb4128
    @shyamsundarb4128 Год назад +19

    Hey Kunal, I am not sure why I am watching this as I am not from development,Your amazing skills and your passion for teaching is incredible...I wish I go back 18 years of my career to learn all these development courses,to haveca strong foundation!!!.God 🙌
    .keep up the good work

  • @rafiulhredoy2556
    @rafiulhredoy2556 2 года назад +8

    A committed voice to solve difficult problems.A ray of hope for those studying CS problems.

  • @supriyosarkar5132
    @supriyosarkar5132 3 года назад +26

    Absolutely spot on, other popular channels like Apna College should learn how to teach from this guy.

  • @ayushgautam6740
    @ayushgautam6740 3 года назад +171

    He just not teaching how to solve these patterns , he is also teaching how to approach and tackle those problems and then coming up with solutions. Loved the way of teaching, it's very organic and real. Cheers man 👑

  • @kishanpareek2848
    @kishanpareek2848 3 года назад +95

    Kunal is teaching in a brilliant way. This course is worth thousands of dollars but we are lucky that we are getting it for free. Thanks a ton kunal!

    • @raoaman2122
      @raoaman2122 3 года назад +1

      Thousands of dollars???

    • @rahulsingh-bk3wd
      @rahulsingh-bk3wd 3 года назад +1

      @@raoaman2122 woh ketan parekh hai uske pass paise ki koi kami nahi hai

    • @badsanta7356
      @badsanta7356 2 года назад +1

      Bruh this basic af. What are you talking about lol? These comments are super hyperbolic

  • @uncalledbrake603
    @uncalledbrake603 3 года назад +95

    It's 12AM but never too late for learning.
    Watching this right away🔥🔥🔥🔥🤩

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +26

      Hope you enjoy it!

    • @RohitKumar-gx7rn
      @RohitKumar-gx7rn 3 года назад +3

      @@KunalKushwaha
      yeah sir we will
      Thank you so much sir for this playlist ❤️🙏

  • @choephel4565
    @choephel4565 3 года назад +28

    From the inner depth of my heart I would like to thank you for such an awesome class. I never knew it was this easy to solve patterns problems. Hurray🎉🎉🎉🎉. You are one great teacher. 🙏🙏🙏🙏👏👏👏

  • @nitishkumar-dt2tx
    @nitishkumar-dt2tx 2 года назад +10

    Great Explanation.. Loved it
    17:30 for Pattern 3, I did it the below way
    public static void PrintPattern1(int n)
    {
    for (int row = 1; row = 1; col--)
    {
    Console.Write("* ");
    }
    Console.WriteLine();
    }
    }
    19:00 for Pattern 3, focus on the numbers written by Kunal.. n = 4. rows are like this 1, 2, 3, 4 and columns are like 4, 3, 2, 1 which is reverse (i.e., columns starts from n and reduces to 1) But if we directly use variable n and decrease its value in outer forloop, no.of rows will decrease, so better to store n value in one variable and reduce the value of that variable in each outerloop. Below code explains this approach
    public static void PrintPattern1AnotherWay(int n)
    {
    int iterations = n;
    for (int row = 1; row

  • @withsudhir
    @withsudhir 2 года назад +3

    The best JAVA Complete Package I have ever seen. Keep up the great quality work. Your way of teaching is one of its kind among others. Thanks for inspiring many non-CS background students or working professionals. Hope this series reaches millions of people around the world. Much obliged.

  • @arshadhusain6629
    @arshadhusain6629 2 года назад +14

    No one can explain like you ... I was just searching for guy who talk about reason and logic behind every single step in the code .....this is the best video ever of pattern type questions

    • @KunalKushwaha
      @KunalKushwaha  2 года назад +4

      You’re welcome

    • @priyanshukumar2606
      @priyanshukumar2606 2 года назад

      Bro you figured it out how to solve all the problems? If so then can you give me the code of printing a hollow pyramid using kunal's steps?

  • @fareenaaliya3189
    @fareenaaliya3189 2 года назад +35

    Thank you for everything you do. You are helping lot of students as well as professionals grow. Such a blessing to this world❤️ I’m so excited to watch all your courses.

  • @nehurane
    @nehurane 3 года назад +69

    I have been coder for last 10 years and always feared of DSA. But after following Kunal's course I have gained so much of confidence. Its like I have re-learnt everything with different approach. Every problem can be solved multiple ways but Kunal's ways are super easy ways I must say. Going to follow complete DSA series. #DSAwithKunal

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +10

      Thank You! 😄

    • @sohamborale7314
      @sohamborale7314 Год назад

      Kaise coder ho bhai, ye toh wahi baat ho gayi mandir gaye aur prasaad se dar gaye dsa se dar lagta hai toh kyu karte ho cse

    • @nehurane
      @nehurane Год назад

      @@sohamborale7314 darr kon raha .. timepass kar ne ko koi mila nahi kya.. idhar aa jaate hain pakane

    • @percy2159
      @percy2159 Год назад

      @@nehurane you literally said "always feared DSA " lol

  • @tejasvijain1077
    @tejasvijain1077 3 года назад +57

    my mind was blown at this point @17:53 as I used to mess with the outer loop , writing it so that it goes from n to 1, and just now got to learn that I don't have to do that anymore

  • @vibhorjain6570
    @vibhorjain6570 Год назад +1

    this guy really loves what he is doing...his content is awesome..in depth and interesting

  • @invincibleinvincible3215
    @invincibleinvincible3215 2 года назад

    Wow🔥🔥🔥🔥🔥🔥🔥🔥itna achha explain kisi ne nahi kiya.

  • @animeshmondal2594
    @animeshmondal2594 3 года назад +35

    This video worked like magic now ... I'm able to solve almost all pattern problems following those three steps ... thanks to you .. solving patterns are a big challenge for me before watching this video .. great contribution to the community keep up the good work ❤

  • @Helly_Patel
    @Helly_Patel 2 года назад +16

    Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!

  • @pratikvyas3435
    @pratikvyas3435 3 года назад +179

    Oh man ,I have got 8 years of experience in Software engineering field but I have never seen anyone that matches your passion.
    Your trick are awesome ,presentation is perfect and you are right that this should reach to many people.
    Keep going ✌✌✌✌

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +24

      Thanks for sharing

    • @WomanTreaders
      @WomanTreaders 2 года назад

      Hello Brother I m none technical student I have already completed my MBA now I want to learn to code please could you tell me which language start the first time so I can able to get it easily...c++ or java ...

    • @rajnishmishra453
      @rajnishmishra453 2 года назад +1

      @@WomanTreaders I love C++ but I would I advise your to go with Java as your language of choice .
      Java is allegedly easier than Cpp and market is decent for Java developers .

    • @venugaaduu
      @venugaaduu 2 года назад

      8years experience huu in which company 🤫 ...

    • @Md_yasin88
      @Md_yasin88 2 года назад +9

      😂😂😂😂 8 years experience and watching a normal and simple programmer's tricks it means 8 years fake experience

  • @aquibdarain3699
    @aquibdarain3699 2 года назад +1

    maza agaya sir ji dil khush hogaya
    i love you again

  • @eleanorleoni4066
    @eleanorleoni4066 2 года назад +1

    You are the best. Million times better than the computer teachers in my school. Thank You Sir.

  • @VishalKumar-pk9ek
    @VishalKumar-pk9ek 3 года назад +992

    when I was solving patterns, I was able to solve but end up with very lengthy codes for complex patterns and you solved almost every question in not more than 10 lines of code and when you were explaining the logic for last pattern question , I literally screamed 'WOW' in a very loud voice 😂😂😂
    learned easy and simple ways to solve patterns,
    thank you so much🙌🙌

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +119

      glad I could help!

    • @saiyamjain9342
      @saiyamjain9342 3 года назад +12

      @@KunalKushwaha in a tier 3 college which and where the resourcs you use to learn the coding at this level ,, please reply your advice is very helpfull for me

    • @GiantxMonster
      @GiantxMonster 2 года назад +3

      @@KunalKushwaha Java

    • @aafrinshaqthaj9345
      @aafrinshaqthaj9345 2 года назад +3

      @@KunalKushwaha thank you so much..I've done pattern with less number of lines...where can I find remaining pattern solutions...i did by my own..I need to verify it..

    • @vanshmadan4302
      @vanshmadan4302 2 года назад +4

      @@KunalKushwaha In the third pattern where there was column reducing we can just change the use this in inner loop
      For(column=5;column>=rows;column--).

  • @baggakishan
    @baggakishan 3 года назад +24

    The last question man!!!! I cannot believe on my eyes what I just saw, I was just like !!!!!WWWWWOOOOOOOOOOOOWWWWW!!!!!, this course is turning to be some dream come true, really thanks a lot kunal for this awesomeness that you've brought to our life, keep up the good work :) ❤

  • @kami_OwO
    @kami_OwO 3 года назад +9

    I always didn't understand concentric pattern q 31 very well but you cleared all my doubts thank you

  • @NareshNaresh-cl8rn
    @NareshNaresh-cl8rn 10 месяцев назад +1

    Your such a goat in this trending and u covered everything with approaches no any another person deserve it.your are just remendous

  • @thorbhai2819
    @thorbhai2819 2 года назад +2

    Outstanding free course.... Thanks KK

  • @Chiragpanchal000
    @Chiragpanchal000 3 года назад +43

    I was doing time pass on RUclips then somehow it suggested me this and I ended up solving all. Thanks bro for saving my time. ❤❤❤
    By the way in pattern 5 you could also use mod for second formula. For example in python I am doing this:
    colrange = row if (row

  • @karthicksrinivas2993
    @karthicksrinivas2993 3 года назад +9

    This was a lifesaver man , Big Thanks to you and may you be blessed with tremendous success in all your future endeavors

  • @lazymusafir
    @lazymusafir 2 года назад +6

    The way he explained patterns is so easier than we can ever solve🔥🔥

  • @Shalini28_
    @Shalini28_ 3 месяца назад

    The main reason this course is so special is because of your smile, even if we get stuck, somewhere just by looking at you smile makes us smile. And trust me when I say this. You teach with such an ease that makes us feel that programming is so easy.

  • @aquibdarain3699
    @aquibdarain3699 2 года назад +1

    kya padhaya hai bhai amazing
    i love you

  • @shreyashmulate1124
    @shreyashmulate1124 2 года назад +6

    For the last question I gave it a lot of thought but I ended up *codeless* after his explanation I was speechless 😶.
    All the question with the same approach....hatts off to you Kunal. 💯

  • @himanshu_1422
    @himanshu_1422 3 года назад +6

    difference in this video and other videos on patterns is that he actually show us how to think while solving it not like others who tell us write this and that

  • @prayascsa6601
    @prayascsa6601 3 года назад +7

    Just found your channel and never before have i seen someone teach with such enthusiasm and passion, these are the types of classes that anyone would enjoy and learn from.

  • @pramodbiradar7830
    @pramodbiradar7830 2 года назад +1

    One of the Best tricks to solve the patterns🔥🔥

  • @sumitsagar6072
    @sumitsagar6072 Год назад

    dude, I have seen lot of videos on this topic. most of them had complex code.... you approach is simpler yet effective. Thanks a ton

  • @vikasbagri1225
    @vikasbagri1225 3 года назад +5

    I am solving these patterns at 3:57 am in the morning and the solution to the last pattern gave me some sort of goosebumps
    You doing an amazing work my friend

  • @aritrachatterjee147
    @aritrachatterjee147 3 года назад +172

    Kunal what you are doing for the community its just priceless courses with price of 10k can't explain concepts so easily like you are doing.. Some people are there who won't understand the value of this bootcamp right now but once they complete the bootcamp they will know that this is the best dsa course available ❤️, Keep Rocking Brother❤️

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +54

      I just want to help others

    • @aritrachatterjee147
      @aritrachatterjee147 3 года назад +8

      @@KunalKushwaha Thank You Soo much for this help and just a small request don't join some educational institutes in the future... We want you in this channel only ❤️

    • @go-vid-1928
      @go-vid-1928 2 года назад +1

      @@KunalKushwaha you are doing it already bro. keep doing it. thank you. may god bless you bro. Thanks once again for all of your help.

  • @restricteduser6970
    @restricteduser6970 3 года назад +10

    Bro I always had phobia for pattern questions no lecture couldn't help me understand how patterns works ...... Your video was awesome 🙏🙏🙏🙏

  • @Hellnawwh
    @Hellnawwh 2 года назад +1

    I was mad confused why you were running the loop 2N times glad you addressed it later.

  • @senzu9599
    @senzu9599 Год назад +1

    Thank you Kunal for this needful session.your way of teaching is very grateful.

  • @iHassanEricky
    @iHassanEricky 3 года назад +9

    He's Such a underrated Person he deserves 1M subs ❤️❤️

  • @shubhanginijain2910
    @shubhanginijain2910 3 года назад +8

    I have literally subscribed with all my accounts, because I really like the content!

  • @kapilvaishnav6851
    @kapilvaishnav6851 3 года назад +16

    I am very confused when spaces are given in pattern. After this video it will solve many of the confusion which I always faced.
    /* Thanks bro for the awesome video. */
    you deserve million of subscribers

  • @KoushikDas2005
    @KoushikDas2005 Год назад +1

    Not yet started DSA but up with JAVA basics. As nested for loop came and pattern question came as a challenge in front of me , the only video that got to my brain at that point is this one . Thanks a lot , Kunal , for sharing this tricks , committing the post mortem of the pattern based questions , which helps us in logic building of loops and iteration . Thanks .

  • @harjitsingh1828
    @harjitsingh1828 Год назад +2

    amazing lecture , every programmer should learn from him

  • @raveendrakumar5982
    @raveendrakumar5982 3 года назад +10

    This course will blown up the internet after Sourav Shukla classical approach. Keep Educating , we are with u. My colleagues in IITs and Nits have suggested me, and it is the first video I watched out. Very beneficial

  • @Momentsoflifeinreel
    @Momentsoflifeinreel 3 года назад +13

    Again Indian. You guys are rocking on RUclips. Without you guys we won't survive in uni, college and even jobs.
    Keep doing amazing work.

  • @lostt3435
    @lostt3435 Год назад +6

    To the point explanation. Loved the video. I did the last question by myself but your trick was so cool. Love all of your videos Kunal❤

  • @SaranshKumar-w1l
    @SaranshKumar-w1l Год назад

    This is the best trick ever I had seen in approaching any pattern questions in java

  • @sravansunkara
    @sravansunkara Год назад

    This world needs more people like you. Thanks alot!!!

  • @rohitgour10
    @rohitgour10 2 года назад +5

    Hey Kunal, Just loving this series till now 😍. Thanks for creating this. 🙏

  • @sreesen3159
    @sreesen3159 2 года назад +13

    After coming this long in the playlist, I am definitely feeling improved. I was able to build logic for some of the patterns, even created a PR in the GitHub repo of the bootcamp which adds new solution to pattern3 question. Thanks for everything you did and are doing for us and that too for free!

  • @shahadtuglak1906
    @shahadtuglak1906 3 года назад +6

    I am struggling from the last 1 year in this Pattern Topic, I loose hope for the DS algo and Placement stuff and Today I saw your video Brother and From Today I again Start preparing for Placement.. Keep It Up Thankyou once again❤

  • @bhavanishankar5611
    @bhavanishankar5611 10 месяцев назад

    Best DSA course in the world thnx kunal for your playlist

  • @rakeshsagar9510
    @rakeshsagar9510 3 месяца назад

    Just saw 5k new subscribers in one week which is testimony to quality of teaching. A big shoutout to Kunal.

  • @Aishortstory0987
    @Aishortstory0987 3 года назад +5

    This is video should be trending on RUclips , absolutely awesome content , cleared my many doubts

  • @shofiyabootwala2094
    @shofiyabootwala2094 3 года назад +9

    Ticket to master DSA. Thank You Kunal. How can someone be so selfless and inspiring.

  • @kekp3791
    @kekp3791 3 года назад +6

    Hi Kunal! Greetings from Europe! I like your course and your way how you explain. I subscribed to your channel as I think I can learn so much from you. I wish you further success!

  • @GauravSharma-tj1ki
    @GauravSharma-tj1ki 2 года назад +1

    exceptional explanation

  • @vinny4161
    @vinny4161 Год назад

    For pattern 3 we can take inner loop as j=i; j

  • @guyswithhoodie3572
    @guyswithhoodie3572 3 года назад +38

    People wait for money heist, programmer waits for DSA boot camp by KK

  • @notjod4948
    @notjod4948 Год назад +4

    I think Kunal bhiya you missed (n-row%n) for column loop when row>n...for pattern 5.

  • @enperushah
    @enperushah 6 месяцев назад +3

    watching the solution of 31st problem, I felt like THE DUMBEST person on earth🙃 But "when something makes u feel dumb, it's the sign you're growing". Grateful to you, Kunal

  • @sohanchoudhury8502
    @sohanchoudhury8502 Год назад

    The best way to learn pattern printing problems
    Easy and logical method 👍👍👍👍

  • @gulzhasmailybayeva4587
    @gulzhasmailybayeva4587 Год назад

    Thank you for this DSA course, Kunal! Love from Kazakhstan!

  • @akhileshgoswami7699
    @akhileshgoswami7699 3 года назад +4

    You just changing the whole community thanks a lot to put this much energy to making this video , your changing a lot of students life , Now dsa would not be a hard subject , with your videos is just like cake walk and yes job interview would be clear just like you said . ek chutki me ...

  • @prabhanjanborkar8473
    @prabhanjanborkar8473 2 года назад +5

    Simply incredible service (help) done for the community! Can't thank enough for decoding the logic and explaining in a layman's term. 🤘🙌🔥🔥
    Wish you all the more power and success!
    Subscribed, liked, and shared the video playlist with my community network

    • @PIYUSH-lz1zq
      @PIYUSH-lz1zq 2 года назад

      Bro , in diamond pattern there is a space after star also ... how did u handle that part ???

  • @rishabhdhawad
    @rishabhdhawad 3 года назад +8

    I was unable to solved any pattern question which my college teacher used to give me . But now I can seen some hope coming from my side .

  • @YASHMEHTA-x6h
    @YASHMEHTA-x6h 18 дней назад

    your explanation is super 🔥🔥

  • @shreeharsha08
    @shreeharsha08 Год назад +1

    bhai namaskar😀. this was my first video on your channel I became a fan of you. from Karnataka

  • @divyaraj-rana
    @divyaraj-rana 3 года назад +8

    AS soon as I started watching these pattern series I thought will I be able to do it...? But when he started his approach to solve a particular pattern problem in 10 lines of code and then I quickly followed up his approach and was able to solve many pattern problems which made it more simple and easy. Thanks Kunal for making these series....🤩🤩

  • @Shubham_30_12
    @Shubham_30_12 3 года назад +4

    Literally brother your course made me fall in love with DSA and all credit goes only and only to your super exciting voice and so much good content over it and seriously i don't want to type much because i'm so eager to watch this video because here i'm commenting without even been watched the video but my heart knows the quality of the series so thank you once again and please do share us with your knowledge......

  • @_cricketshortsdaily_
    @_cricketshortsdaily_ 3 года назад +7

    C++ code for the last Q. Please let me know if it has any errors! Happy Learning :)
    #include
    using namespace std;
    int main()
    {
    int n = 4;
    int originalN = n;
    n = 2 * n - 1;
    for (int row = 0; row < n; row++)
    {
    for (int col = 0; col < n; col++)
    {
    int numTobePrinted = originalN - min({row, col, n - row - 1, n - col - 1});
    cout

  • @harshagrawal6269
    @harshagrawal6269 Год назад

    This course is providing me immense knowledge that too without any subscription fees. All thanks to Kunal for making these videos by putting in so much effort.

  • @johnvick8861
    @johnvick8861 2 года назад +2

    Beautifully explained

  • @Shubham-ek7jv
    @Shubham-ek7jv 3 года назад +4

    Bhaiya i felt difficulty while solving pattern based questions but when u uploaded that video ---I personally feel-" ab to ho jayega"

  • @shridevidudhbhate2271
    @shridevidudhbhate2271 3 года назад +5

    Hi Kunal,
    It would be a great help if you can share the solution for all the patterns.I request.
    Your method is quite different than others.I loved your way of teaching.Thanks for this video.

    • @sumanthmysore2088
      @sumanthmysore2088 2 года назад

      Hey, doing the remaining patterns on our own after watching the video gives a much greater satisfaction. I feel the approach he taught and a bit of thinking will be enough to solve all those patterns except 1 or 2.

  • @khushisaraswat7264
    @khushisaraswat7264 3 года назад +6

    Thank you sir for sharing your knowledge and the most important thing I have gained after watching this video is "confidence" , first seeing those patterns I was like I can never be able to solve this type of questions but because of your explanation on how to approach these type of questions it became simple and interesting , THANK YOU SIR.

  • @radhekrishna5248
    @radhekrishna5248 Год назад

    Maan gaye prabhu.........Love it😊

  • @ridoychandradey8337
    @ridoychandradey8337 2 года назад +1

    Just clear my doubts. Now I can solve any patterns that I will face in future. Thank you very much Kunal.

    • @priyanshukumar2606
      @priyanshukumar2606 2 года назад

      Bro you figured it out how to solve all the problems? If so then can you give me the code of printing a hollow pyramid using kunal's steps?

  • @airdropcrypto4468
    @airdropcrypto4468 Год назад +4

    00:03 Learn to solve any pattern easily with a simple trick
    05:53 Traversing 2D arrays using nested for loops
    12:18 Printing patterns using nested loops
    18:21 Summarizing patterns and formulas for rows and columns
    24:21 Finding the relationship between columns and rows
    31:00 Learn how to print patterns using loops in Python
    37:22 Nested loop pattern printing
    43:07 Solving pattern questions using a formulaic approach
    48:30 Minimum distance from walls can be calculated using simple formulas.
    54:31 Learn the concepts of number of rows, number of columns, and formula to solve questions.
    Crafted by me

  • @Innovartisticboy
    @Innovartisticboy Год назад +4

    You are actually so helpful and these questions are pure gold but could you please explain it a little more thoroughly, I'm in grade 9 and I love coding but I'm awfully new, so a little longer explainations would be so much more helpful. Thank you for this video aswell btw!

  • @NikhilSharma-on9tr
    @NikhilSharma-on9tr Год назад +20

    Video Summary:
    This video provides a trick to solve any pattern question by following three steps. The steps include identifying the number of rows and columns, and determining what to print in each row. The instructor demonstrates the steps by solving various pattern questions.
    - 00:03 The video is introducing a free course on data structures and algorithms and encouraging viewers to subscribe and share it.
    - 07:10 The two steps to approach a pattern question
    - 14:18 The video explains how to solve pattern questions using three simple steps.
    - 21:29 The video explains how to create patterns using nested loops in Java.
    - 28:39 The video explains how to remove certain rows from a table based on a given condition.
    - 35:49 The video explains how to calculate the number of spaces in a pattern based on the number of columns and rows.
    - 42:58 The speaker discusses the importance of readable code in pattern questions and presents a new pattern question for the viewer to solve before revealing the answer.
    - 50:08 The video explains how to calculate the distances from different walls in a grid pattern.
    Generated by Monica AI. Get yours now! 👉 monica.im?r=384961

  • @ruparani5720
    @ruparani5720 14 дней назад

    amazing creator! amazing course! day by day loving Java

  • @GeneralPBYouTube
    @GeneralPBYouTube 6 месяцев назад +2

    Great course!!

  • @yagneshacharya2461
    @yagneshacharya2461 2 года назад +191

    there is no trick u shown in this video , u run the code by ur logic , there is no trick behind it ,, and the 3 steps u called it trick is not trick, its just basic thinking

    • @g-fourgaming8657
      @g-fourgaming8657 Год назад +9

      Correct

    • @lokeshpawar5008
      @lokeshpawar5008 10 месяцев назад +30

      What you need then one single formula that applies to all question . 😅

    • @abimask47
      @abimask47 3 месяца назад +2

      Thanks for saving 1 hour time

    • @Edit.Chirag03
      @Edit.Chirag03 3 месяца назад +3

      There is not trick to achieve your goal

    • @retromonk88
      @retromonk88 28 дней назад +1

      if u know how to solve a particular question u know its trick, simple

  • @hybridgamer4105
    @hybridgamer4105 3 года назад +15

    I didn't know these type of questions are also asked in some interviews ... I remember back in highschool our cs teacher taught us the basic patterns which u covered too then my friend challenged me to make a diamond shape(Q 28) of given size .... Took some time and did it with while loop tho cuz i really used to get confused with nested for loops xD

  • @mdashfaquemarch
    @mdashfaquemarch 3 года назад +6

    Hey kunal,
    After this Bootcamp please Start web Dev

  • @MohsinAli-if7zg
    @MohsinAli-if7zg 9 месяцев назад

    This Person is owesome!. Very excellent teacher. Way of teaching is very unique and the man is energetic too.

  • @dragonemperorx531
    @dragonemperorx531 2 года назад

    Thank You for making this video. I have learnt a lot.

  • @kishanpatel3354
    @kishanpatel3354 3 года назад +4

    How do you get energy and time to do this much for free?! Excellent content!