Solve Any Pattern Question With This Trick!

  Рет қаралды 2,532,340

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

Пікірлер: 1 900
@KunalKushwaha
@KunalKushwaha Жыл бұрын
Complete Java DSA playlist: kzbin.info/aero/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
@Shubham_Bhatt
@Shubham_Bhatt Жыл бұрын
Thanku for all your efforts and all the things you are doing to help us grow, Thanku so much🥹
@ChokiChoklu
@ChokiChoklu 9 ай бұрын
❤️🙏🏻
@devzone101
@devzone101 7 ай бұрын
thanks brother
@wadood_ul_islam6637
@wadood_ul_islam6637 5 ай бұрын
preparing and revising for my Interview questions you made this so much easy to understand 👍
@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.
@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.
@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
@akshatpandey8571
@akshatpandey8571 3 жыл бұрын
"Before we get started i want to give huge shoutout to my course"😂😂 Did not see that coming.Nice one.
@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 Жыл бұрын
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?
@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 7 ай бұрын
​@@037_cse_jananir7udemy
@anindiansquirrel
@anindiansquirrel Ай бұрын
Isn't it in java, unlucky me since I only know python:(
@sharath_29
@sharath_29 Жыл бұрын
Only video its not a clickbait. Even a layman could understand the concept... Thankyouuu
@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 23 күн бұрын
koddur agailen bhai?
@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 Жыл бұрын
@@KunalKushwaha❤❤❤❤
@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
@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
@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 2 жыл бұрын
@@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
@Shalini28_
@Shalini28_ Ай бұрын
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.
@supriyosarkar5132
@supriyosarkar5132 3 жыл бұрын
Absolutely spot on, other popular channels like Apna College should learn how to teach from this guy.
@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
@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
@rafiulhredoy2556
@rafiulhredoy2556 2 жыл бұрын
A committed voice to solve difficult problems.A ray of hope for those studying CS problems.
@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!
@vinny4161
@vinny4161 Жыл бұрын
For pattern 3 we can take inner loop as j=i; j
@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
@rakeshsagar9510
@rakeshsagar9510 Ай бұрын
Just saw 5k new subscribers in one week which is testimony to quality of teaching. A big shoutout to Kunal.
@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 6 ай бұрын
@@himanshu_1422 he's agreeing with you
@vibhorjain6570
@vibhorjain6570 Жыл бұрын
this guy really loves what he is doing...his content is awesome..in depth and interesting
@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 ❤️🙏
@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.
@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--).
@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
@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
@NareshNaresh-cl8rn
@NareshNaresh-cl8rn 8 ай бұрын
Your such a goat in this trending and u covered everything with approaches no any another person deserve it.your are just remendous
@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 жыл бұрын
++
@eleanorleoni4066
@eleanorleoni4066 2 жыл бұрын
You are the best. Million times better than the computer teachers in my school. Thank You Sir.
@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
@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(); } } }
@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!
@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
@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. 💯
@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
@senzu9599
@senzu9599 Жыл бұрын
Thank you Kunal for this needful session.your way of teaching is very grateful.
@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
@Hellnawwh
@Hellnawwh 2 жыл бұрын
I was mad confused why you were running the loop 2N times glad you addressed it later.
@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.
@MohsinAli-if7zg
@MohsinAli-if7zg 7 ай бұрын
This Person is owesome!. Very excellent teacher. Way of teaching is very unique and the man is energetic too.
@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
@harshagrawal6269
@harshagrawal6269 10 ай бұрын
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.
@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.
@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 Жыл бұрын
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?
@lazymusafir
@lazymusafir 2 жыл бұрын
The way he explained patterns is so easier than we can ever solve🔥🔥
@JbrDeveloper
@JbrDeveloper Ай бұрын
pattern 30 just with two nested loop : for (int line = 1; line
@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 :) ❤
@bharatadk
@bharatadk 2 жыл бұрын
Pattern 28 Python: n=5 for i in range(1,n+1): temp = n-1 if i>n else i # for k in range(temp): print((2*(n-temp))*" ",end="") for j in range(temp,1,-1): print(j,end=" ") for j in range(1,temp+1): print(j,end = " ") print() Pattern 31 n=8 originalN=4 array=[4,3,2,1] for i in range(0,n-1): for j in range(0,n-1): temp = min(i,j,n-2-i,n-2-j) print(originalN-temp,end=" ") print()
@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.
@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
@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
@sravansunkara
@sravansunkara Жыл бұрын
This world needs more people like you. Thanks alot!!!
@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!!
@gulzhasmailybayeva4587
@gulzhasmailybayeva4587 10 ай бұрын
Thank you for this DSA course, Kunal! Love from Kazakhstan!
@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!
@short_97886
@short_97886 Жыл бұрын
17:00 this approach also easy #include using namespace std; int main() { int n = 5; for (int row = 1; row
@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
@enperushah
@enperushah 4 ай бұрын
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
@suhanipatel1143
@suhanipatel1143 5 ай бұрын
heyy, thanks a lot for providing this for free; I was from a non-coding background and made this transition recently..today itself i started learning loops but was getting frustrated as i couldn't get the pattern questions right but the way you taught made things so clear in the first question itself that I was able to get the diamond pattern right without any errors in one go while i couldn't even solve right triangles correctly few hours before..thank you so much...looking forward to clearing my concepts with ur other videos as well!
@abdulkafeelkhan4701
@abdulkafeelkhan4701 3 жыл бұрын
This is video should be trending on KZbin , absolutely awesome content , cleared my many doubts
@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
@shubhanginijain2910
@shubhanginijain2910 3 жыл бұрын
I have literally subscribed with all my accounts, because I really like the content!
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Thank You!
@whatsaappstatus6452
@whatsaappstatus6452 Жыл бұрын
For the last question ans is ------ static void pattern(int n){ OgN=n; n=2*n; for(int row=1;row
@rishabhsinghal3238
@rishabhsinghal3238 Жыл бұрын
bro are you able to solve 12th pattern ? if yes, then can you please help me out
@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
@prasannadevireddy7865
@prasannadevireddy7865 4 ай бұрын
I have already solved the 31st question, but I didn't come up with the logic that you have explained. Simply awesome!
@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 😊
@SaranshKumar-w1l
@SaranshKumar-w1l 11 ай бұрын
This is the best trick ever I had seen in approaching any pattern questions in java
@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 .
@thorbhai2819
@thorbhai2819 Жыл бұрын
Outstanding free course.... Thanks KK
@iHassanEricky
@iHassanEricky 3 жыл бұрын
He's Such a underrated Person he deserves 1M subs ❤️❤️
@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
@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 Жыл бұрын
❤❤
@KoushikDas2005
@KoushikDas2005 11 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
Nice work!
@himanshukumargupta843
@himanshukumargupta843 Жыл бұрын
Just Amazing, one word for last question is 'WOW'.
@rohitgour10
@rohitgour10 2 жыл бұрын
Hey Kunal, Just loving this series till now 😍. Thanks for creating this. 🙏
@yaasararfathh8355
@yaasararfathh8355 10 ай бұрын
i have worked with c# ecosystem but iam following the approach you explained pattern 3 : int n = 5; for(int i =1; i
@notjod4948
@notjod4948 Жыл бұрын
I think Kunal bhiya you missed (n-row%n) for column loop when row>n...for pattern 5.
@bhavanishankar5611
@bhavanishankar5611 8 ай бұрын
Best DSA course in the world thnx kunal for your playlist
@prabhanjanborkar8473
@prabhanjanborkar8473 2 жыл бұрын
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 ???
@mostofaomarfattharusho8080
@mostofaomarfattharusho8080 4 ай бұрын
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.
@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!
@mohamedamjad7582
@mohamedamjad7582 20 күн бұрын
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
@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"
@hellokuantum
@hellokuantum 2 жыл бұрын
Mantap bossku ... cara hang ajar loop & basic pattern memang senang nak faham .... terbaik ! :)
@divyaraj-rana
@divyaraj-rana 3 жыл бұрын
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....🤩🤩
@jhonatancurubo9650
@jhonatancurubo9650 9 ай бұрын
"Very simple stuff!" That's my mantra now, thanks.
@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!
@sohanchoudhury8502
@sohanchoudhury8502 Жыл бұрын
The best way to learn pattern printing problems Easy and logical method 👍👍👍👍
@Shubham_30_12
@Shubham_30_12 3 жыл бұрын
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......
@RuchikaDas-x6k
@RuchikaDas-x6k Жыл бұрын
This is a great course. Excellent teaching and easily understandable.
@khushisaraswat7264
@khushisaraswat7264 3 жыл бұрын
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.
@curious9381
@curious9381 Жыл бұрын
Thanks Kunal for making such awesome content. Helping kunal's community! I was confused with these two things on 17th pattern. I spent 2hrs because of it. I am putting it for you guys to save your time and mind boggling. Here it is, i) 'row loop' is running 8 times....even though it run 8 times on 8th iteration 'c' becomes 0. so it doesn't affect the output. ii) Don't think 'c' variable stores the count of columns. Nooo, it's not. It stores the starting num of the column.
@_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 4 ай бұрын
thank you bro
@nub2k537
@nub2k537 Жыл бұрын
Solving patterns became so easy after watching this vid. Thank you Kunal Kushwaha! ♥
@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
Introduction to Recursion - Learn In The Best Way
1:55:49
Kunal Kushwaha
Рет қаралды 988 М.
Strings and StringBuilder in Java
1:27:29
Kunal Kushwaha
Рет қаралды 502 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 89 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 299 М.
patterns in C - Tips and Tricks
1:18:42
CSE GURUS
Рет қаралды 819 М.
Bitwise Operators + Number Systems - Maths for DSA
2:17:09
Kunal Kushwaha
Рет қаралды 411 М.
OOP 3 | Principles - Inheritance, Polymorphism, Encapsulation, Abstraction
2:12:51
Intro to Java Programming - Course for Absolute Beginners
3:48:25
freeCodeCamp.org
Рет қаралды 3,5 МЛН
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 14 МЛН