Solve Any Pattern Question With This Trick!

  Рет қаралды 2,567,916

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

Пікірлер: 1 900
@KunalKushwaha
@KunalKushwaha Жыл бұрын
Complete Java DSA playlist: kzbin.info/aero/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
@ShubhamBhattog
@ShubhamBhattog Жыл бұрын
Thanku for all your efforts and all the things you are doing to help us grow, Thanku so much🥹
@ChokiChoklu
@ChokiChoklu 10 ай бұрын
❤️🙏🏻
@devzone101
@devzone101 8 ай бұрын
thanks brother
@wadood_ul_islam6637
@wadood_ul_islam6637 6 ай бұрын
preparing and revising for my Interview questions you made this so much easy to understand 👍
@akshatpandey8571
@akshatpandey8571 3 жыл бұрын
"Before we get started i want to give huge shoutout to my course"😂😂 Did not see that coming.Nice one.
@Chakree45
@Chakree45 Жыл бұрын
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 22 күн бұрын
Also add 1 to the variable "atEveryIndex"
@SKILLCRYSTAL
@SKILLCRYSTAL 3 жыл бұрын
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 Жыл бұрын
That's kunal
@sumanmajumdar7884
@sumanmajumdar7884 Жыл бұрын
U may get it in coding wallah also
@rakshitjayaswal3224
@rakshitjayaswal3224 Жыл бұрын
@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 Жыл бұрын
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 Жыл бұрын
I just taken 20 min to complete
@msraji1
@msraji1 Жыл бұрын
never seen a guy so cool and explained the concept in a super easy way , the way he smiled while solving is really cool.
@kanyapandey
@kanyapandey 3 жыл бұрын
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 жыл бұрын
Where can I get that course
@sytnoff1
@sytnoff1 8 ай бұрын
​@@037_cse_jananir7udemy
@anindiansquirrel
@anindiansquirrel 2 ай бұрын
Isn't it in java, unlucky me since I only know python:(
@JALDIWAHASEHATO
@JALDIWAHASEHATO 6 күн бұрын
@@anindiansquirrel found any good dsa using python courses yet?
@jimarrafi5881
@jimarrafi5881 3 жыл бұрын
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.
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You can do it!
@Default_-ij5oc
@Default_-ij5oc Ай бұрын
koddur agailen bhai?
@tasnimnuha2065
@tasnimnuha2065 10 күн бұрын
@@Default_-ij5oc xD purati dekhsi, lmao
@shyamsundarb4128
@shyamsundarb4128 Жыл бұрын
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
@kishanpareek2848
@kishanpareek2848 3 жыл бұрын
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 жыл бұрын
Thousands of dollars???
@rahulsingh-bk3wd
@rahulsingh-bk3wd 3 жыл бұрын
@@raoaman2122 woh ketan parekh hai uske pass paise ki koi kami nahi hai
@badsanta7356
@badsanta7356 2 жыл бұрын
Bruh this basic af. What are you talking about lol? These comments are super hyperbolic
@arshadhusain6629
@arshadhusain6629 2 жыл бұрын
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 жыл бұрын
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?
@sharath_29
@sharath_29 Жыл бұрын
Only video its not a clickbait. Even a layman could understand the concept... Thankyouuu
@janakavhad8354
@janakavhad8354 2 жыл бұрын
for those who feel difficult to understand that line 10 at 32:22 it simply just if else condition , Thanks @Kunal Kushwaha static void pattern05b(int n) { int totalColsRow ; for (int row = 0; row < 2 * n ; row++) { if( row > n){ totalColsRow = 2 * n - row; for (int col = 0; col < totalColsRow; col++) { System.out.print("* "); } System.out.println(); } else{ totalColsRow = row; for (int col = 0; col < totalColsRow; col++) { System.out.print("* "); } System.out.println(); } } }
@himanshu_1422
@himanshu_1422 3 жыл бұрын
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
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
word
@himanshu_1422
@himanshu_1422 3 жыл бұрын
@@KunalKushwaha ?
@vedikamishra009
@vedikamishra009 7 ай бұрын
@@himanshu_1422 he's agreeing with you
@vaasu_4552
@vaasu_4552 Жыл бұрын
solved pattern no. 5 problem, without knowing solution. with completely different but longer approach. gaining lots n lots of confidence.. THANKS KUNAL BHAIYA😄😄
@ayushgautam6740
@ayushgautam6740 3 жыл бұрын
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 👑
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Thank You!
@dheeraj4437
@dheeraj4437 2 жыл бұрын
@@KunalKushwaha❤❤❤❤
@jayanthkumarbv4882
@jayanthkumarbv4882 2 жыл бұрын
i tried to solve the last pattern on my own before watching the video. it looks like this, i am glad it is showing the proper output package pattrens; public class bigMatrix { public static void main(String args[]) { int n=4; for(int row=0;rown)?(2*n-row):row; for(int col=0;col
@supriyosarkar5132
@supriyosarkar5132 3 жыл бұрын
Absolutely spot on, other popular channels like Apna College should learn how to teach from this guy.
@finex777
@finex777 11 ай бұрын
for pattern 5 we can also use this approach int N =5; int n = N-1; for(int row =1;row
@nitishkumar-dt2tx
@nitishkumar-dt2tx 2 жыл бұрын
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
@rafiulhredoy2556
@rafiulhredoy2556 2 жыл бұрын
A committed voice to solve difficult problems.A ray of hope for those studying CS problems.
@uncalledbrake603
@uncalledbrake603 3 жыл бұрын
It's 12AM but never too late for learning. Watching this right away🔥🔥🔥🔥🤩
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Hope you enjoy it!
@RohitKumar-gx7rn
@RohitKumar-gx7rn 3 жыл бұрын
@@KunalKushwaha yeah sir we will Thank you so much sir for this playlist ❤️🙏
@Shalini28_
@Shalini28_ 2 ай бұрын
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.
@vikasbagri1225
@vikasbagri1225 2 жыл бұрын
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
@GOKULK-ll8ur
@GOKULK-ll8ur Жыл бұрын
col=i>n?col-1:i; for pattern 5 we can use this condition to statement which is less complicated if i is less than n col-1 else col =i static void pat(int n){ int k=0; int j=0; int noOfSpaces=0; for(int i=1;in?k-1:i; noOfSpaces=n-k; for (int f=1;f
@nehurane
@nehurane 3 жыл бұрын
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 жыл бұрын
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
@Momentsoflifeinreel
@Momentsoflifeinreel 3 жыл бұрын
Again Indian. You guys are rocking on KZbin. Without you guys we won't survive in uni, college and even jobs. Keep doing amazing work.
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Thanks a ton
@Momentsoflifeinreel
@Momentsoflifeinreel 3 жыл бұрын
@@KunalKushwaha lots of love mate.
@rakeshsagar9510
@rakeshsagar9510 2 ай бұрын
Just saw 5k new subscribers in one week which is testimony to quality of teaching. A big shoutout to Kunal.
@shreyashmulate1124
@shreyashmulate1124 2 жыл бұрын
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. 💯
@SohaanChhabra
@SohaanChhabra Жыл бұрын
Bro I knew literally nothing about patterns and saw ur vid night before the exam and scored 88/100 . Thnx Sooo Much Brooo!!!!! (Theory Mein Kat Gaye The Marks, Code mein full)
@withsudhir
@withsudhir Жыл бұрын
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.
@laxminarayanakoyyana1753
@laxminarayanakoyyana1753 Жыл бұрын
pattern 31 simple easy to understand code: int n = 4; for (int i = 0; i < 2*n-1; i++) { for (int j = 0; j < 2*n-1; j++) { int leftDistance = j; int rightDistance = 2*n-2-j; int topDistance = i; int downDistance = 2*n-2-i; int mindistance = Math.min(downDistance,Math.min(topDistance,Math.min(leftDistance,rightDistance))) ; System.out.print(n-mindistance+" "); } System.out.println(); }
@tejasvijain1077
@tejasvijain1077 3 жыл бұрын
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
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You are welcome!
@lv1543
@lv1543 2 жыл бұрын
for the true authentic experience, i liked, i subscribed, i went to the local indian takeout and got butter chicken with basmati rice and a mango lasi and came back and finished the video. thank you
@kami_OwO
@kami_OwO 3 жыл бұрын
I always didn't understand concentric pattern q 31 very well but you cleared all my doubts thank you
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You are most welcome
@vibhorjain6570
@vibhorjain6570 Жыл бұрын
this guy really loves what he is doing...his content is awesome..in depth and interesting
@animeshmondal2594
@animeshmondal2594 3 жыл бұрын
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 ❤
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Glad it helped
@studyhero8017
@studyhero8017 Жыл бұрын
I'm a student in my coaching centre they asked to make patterns and I have made successful and it was easy. I loveed it ❤❤😊😊
@pratikvyas3435
@pratikvyas3435 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
😂😂😂😂 8 years experience and watching a normal and simple programmer's tricks it means 8 years fake experience
@sarthakkesarwani2316
@sarthakkesarwani2316 5 ай бұрын
static void pattern31(int n) { int orginalN = n; n = 2 * n; for (int row = 1; row
@Helly_Patel
@Helly_Patel 2 жыл бұрын
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
@Hellnawwh
@Hellnawwh 2 жыл бұрын
I was mad confused why you were running the loop 2N times glad you addressed it later.
@lazymusafir
@lazymusafir 2 жыл бұрын
The way he explained patterns is so easier than we can ever solve🔥🔥
@hellokuantum
@hellokuantum 2 жыл бұрын
Mantap bossku ... cara hang ajar loop & basic pattern memang senang nak faham .... terbaik ! :)
@enperushah
@enperushah 5 ай бұрын
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
@NareshNaresh-cl8rn
@NareshNaresh-cl8rn 9 ай бұрын
Your such a goat in this trending and u covered everything with approaches no any another person deserve it.your are just remendous
@baggakishan
@baggakishan 3 жыл бұрын
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 :) ❤
@REMO176
@REMO176 2 жыл бұрын
i am here after code with harry...bhai u are greatest of all time..
@eleanorleoni4066
@eleanorleoni4066 2 жыл бұрын
You are the best. Million times better than the computer teachers in my school. Thank You Sir.
@shahadtuglak1906
@shahadtuglak1906 3 жыл бұрын
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❤
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You got this!
@shahadtuglak1906
@shahadtuglak1906 3 жыл бұрын
@@KunalKushwaha 🖤
@slighty5879
@slighty5879 Жыл бұрын
DID U GET INTO COMPANY ? @@shahadtuglak1906
@mohamedamjad7582
@mohamedamjad7582 Ай бұрын
Actually one of the best course for Java in India don't know about other channels worldwide but I'll consider this is the best coding channel I have ever seen
@prayascsa6601
@prayascsa6601 2 жыл бұрын
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.
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Welcome aboard!
@shreeharsha08
@shreeharsha08 Жыл бұрын
bhai namaskar😀. this was my first video on your channel I became a fan of you. from Karnataka
@choephel4565
@choephel4565 3 жыл бұрын
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. 🙏🙏🙏🙏👏👏👏
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You're very welcome!
@aryannambiar8719
@aryannambiar8719 2 жыл бұрын
++
@ingenuity8886
@ingenuity8886 Жыл бұрын
So on the basis of your teaching ,I've developed a trick to solve any problem. Analyse the question. Think about the steps you are gonna do Execute. See easy! But guys I want likes bcz you cannot find this anywhere else. Like it subscribe it.
@karthicksrinivas2993
@karthicksrinivas2993 3 жыл бұрын
This was a lifesaver man , Big Thanks to you and may you be blessed with tremendous success in all your future endeavors
@vinny4161
@vinny4161 Жыл бұрын
For pattern 3 we can take inner loop as j=i; j
@restricteduser6970
@restricteduser6970 3 жыл бұрын
Bro I always had phobia for pattern questions no lecture couldn't help me understand how patterns works ...... Your video was awesome 🙏🙏🙏🙏
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Glad to hear that
@JbrDeveloper
@JbrDeveloper 2 ай бұрын
pattern 30 just with two nested loop : for (int line = 1; line
@iHassanEricky
@iHassanEricky 3 жыл бұрын
He's Such a underrated Person he deserves 1M subs ❤️❤️
@sandeepkumartiwari8436
@sandeepkumartiwari8436 5 ай бұрын
n=int(input()) for i in range(0,n): for j in range(i,n): print("*",end=" ") print(" ") 7 * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@fareenaaliya3189
@fareenaaliya3189 2 жыл бұрын
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.
@raveendrakumar5982
@raveendrakumar5982 3 жыл бұрын
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
@okparaa
@okparaa Жыл бұрын
Kunal, you rule them all. I have to stop your video which i was watching offline and came online just to subscribe. You are a wonderful personality. I have been developing pwa for over 6years. You are just creating a lot of insights for me. Thank you sooooooo much kk
@Chiragpanchal000
@Chiragpanchal000 3 жыл бұрын
I was doing time pass on KZbin 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
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Great 👍
@PraveenKumar-uj2ih
@PraveenKumar-uj2ih 2 жыл бұрын
Good Bro
@aanandsaini8174
@aanandsaini8174 Жыл бұрын
Sir I think we can do patter5 in better way by making little change The reason is In first loop where row = 0 We are assigning TotalColsInRow = row //row =0 While running the inner loop for the first time condition is Col
@shubhanginijain2910
@shubhanginijain2910 3 жыл бұрын
I have literally subscribed with all my accounts, because I really like the content!
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Thank You!
@harshagrawal6269
@harshagrawal6269 11 ай бұрын
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.
@shofiyabootwala2094
@shofiyabootwala2094 3 жыл бұрын
Ticket to master DSA. Thank You Kunal. How can someone be so selfless and inspiring.
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Keep up the hard work!
@madhurbhoskar8906
@madhurbhoskar8906 Жыл бұрын
❤❤
@pramodbiradar7830
@pramodbiradar7830 2 жыл бұрын
One of the Best tricks to solve the patterns🔥🔥
@notjod4948
@notjod4948 Жыл бұрын
I think Kunal bhiya you missed (n-row%n) for column loop when row>n...for pattern 5.
@aquibdarain3699
@aquibdarain3699 2 жыл бұрын
maza agaya sir ji dil khush hogaya i love you again
@kapilvaishnav6851
@kapilvaishnav6851 3 жыл бұрын
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
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You are welcome 😊
@chinmayeenb8740
@chinmayeenb8740 Жыл бұрын
Any icse students?? I was unable to do patterns even after watching half a dozen videos , finally I am understanding it!!!
@lostt3435
@lostt3435 Жыл бұрын
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❤
@KunalKushwaha
@KunalKushwaha Жыл бұрын
Glad it helped!
@bhavanishankar5611
@bhavanishankar5611 9 ай бұрын
Best DSA course in the world thnx kunal for your playlist
@_cricketshortsdaily_
@_cricketshortsdaily_ 3 жыл бұрын
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
@sabhisharma8767
@sabhisharma8767 2 жыл бұрын
Thanx for sharing!
@_Arunvfx
@_Arunvfx 5 ай бұрын
thank you bro
@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
@rishabhdhawad
@rishabhdhawad 3 жыл бұрын
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 .
@ridoychandradey8337
@ridoychandradey8337 2 жыл бұрын
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 Жыл бұрын
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
@maverickansh
@maverickansh 2 жыл бұрын
The ones who have watched this pattern ques on a 150 lec course and then watched this realize what were they missing 🥲 Kunal ur legend
@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?
@sujeetkr2115
@sujeetkr2115 2 ай бұрын
its been 3 years, and still this is the best free course available!!
@Shubham-ek7jv
@Shubham-ek7jv 3 жыл бұрын
Bhaiya i felt difficulty while solving pattern based questions but when u uploaded that video ---I personally feel-" ab to ho jayega"
@KoushikDas2005
@KoushikDas2005 Жыл бұрын
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 .
@sreesen3159
@sreesen3159 2 жыл бұрын
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!
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Nice work!
@dark-knightCoder
@dark-knightCoder Жыл бұрын
one of the best content on all over youtube thanku kunal brother
@abdulkafeelkhan4701
@abdulkafeelkhan4701 3 жыл бұрын
This is video should be trending on KZbin , absolutely awesome content , cleared my many doubts
@SaranshKumar-w1l
@SaranshKumar-w1l Жыл бұрын
This is the best trick ever I had seen in approaching any pattern questions in java
@rohitgour10
@rohitgour10 2 жыл бұрын
Hey Kunal, Just loving this series till now 😍. Thanks for creating this. 🙏
@rishabhprasad4744
@rishabhprasad4744 2 жыл бұрын
this course is simply awesome i am saying this because from past 1 month i am studying from paid course and i found this course way more worth it than that udomy course
@senzu9599
@senzu9599 Жыл бұрын
Thank you Kunal for this needful session.your way of teaching is very grateful.
@NikhilSharma-on9tr
@NikhilSharma-on9tr Жыл бұрын
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
@himanshukumargupta843
@himanshukumargupta843 Жыл бұрын
Just Amazing, one word for last question is 'WOW'.
@akhileshgoswami7699
@akhileshgoswami7699 3 жыл бұрын
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 ...
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
I appreciate that!
@sparkscomputerprogramming
@sparkscomputerprogramming 2 жыл бұрын
people despise tutorials created by hindus but if only we would know how good and in depth these tutorials are ...Thank you so much kunal
@kekp3791
@kekp3791 3 жыл бұрын
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!
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Welcome aboard!
@suryakala-r7k
@suryakala-r7k Жыл бұрын
Life savior. Commenting after watching 16mints. Will update after completion. Cant control my eagerness !
@VishalKumar-pk9ek
@VishalKumar-pk9ek 3 жыл бұрын
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 жыл бұрын
glad I could help!
@saiyamjain9342
@saiyamjain9342 2 жыл бұрын
@@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 жыл бұрын
@@KunalKushwaha Java
@aafrinshaqthaj9345
@aafrinshaqthaj9345 2 жыл бұрын
@@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 жыл бұрын
@@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--).
@thorbhai2819
@thorbhai2819 2 жыл бұрын
Outstanding free course.... Thanks KK
@aritrachatterjee147
@aritrachatterjee147 3 жыл бұрын
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 жыл бұрын
I just want to help others
@aritrachatterjee147
@aritrachatterjee147 3 жыл бұрын
@@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 жыл бұрын
@@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.
Introduction to Recursion - Learn In The Best Way
1:55:49
Kunal Kushwaha
Рет қаралды 1 МЛН
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 1 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
How AIs, like ChatGPT, Learn
8:55
CGP Grey
Рет қаралды 10 МЛН
Unlocking Your Intuition: How to Solve Hard Problems Easily
17:34
Colin Galen
Рет қаралды 1,4 МЛН
Strings and StringBuilder in Java
1:27:29
Kunal Kushwaha
Рет қаралды 519 М.
Coding Interviews Be Like
5:31
Nicholas T.
Рет қаралды 6 МЛН
How to solve any Star Pattern Program
18:47
Simply Coding
Рет қаралды 1,2 МЛН
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 662 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,7 МЛН