solved pattern no. 5 problem, without knowing solution. with completely different but longer approach. gaining lots n lots of confidence.. THANKS KUNAL BHAIYA😄😄
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
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
@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
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
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
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 👑
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. 🙏🙏🙏🙏👏👏👏
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
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.
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
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.
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
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
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 ❤
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 ✌✌✌✌
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 ...
@@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 .
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 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
@@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..
@@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--).
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 :) ❤
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
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.
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. 💯
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
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.
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
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 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 ❤️
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
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 .
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
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!
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❤
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!
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
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 ...
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
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....🤩🤩
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......
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
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.
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.
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.
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.
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
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!
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
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
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
Complete Java DSA playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
Thanku for all your efforts and all the things you are doing to help us grow, Thanku so much🥹
❤️🙏🏻
thanks brother
preparing and revising for my Interview questions you made this so much easy to understand 👍
"Before we get started i want to give huge shoutout to my course"😂😂
Did not see that coming.Nice one.
never seen a guy so cool and explained the concept in a super easy way , the way he smiled while solving is really cool.
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.
Also add 1 to the variable "atEveryIndex"
Only video its not a clickbait. Even a layman could understand the concept... Thankyouuu
solved pattern no. 5 problem, without knowing solution. with completely different but longer approach. gaining lots n lots of confidence.. THANKS KUNAL BHAIYA😄😄
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
Where can I get that course
@@037_cse_jananir7udemy
Isn't it in java, unlucky me since I only know python:(
@@anindiansquirrel found any good dsa using python courses yet?
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
That's kunal
U may get it in coding wallah also
@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
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
I just taken 20 min to complete
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.
You can do it!
koddur agailen bhai?
@@Default_-ij5oc xD purati dekhsi, lmao
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
A committed voice to solve difficult problems.A ray of hope for those studying CS problems.
Absolutely spot on, other popular channels like Apna College should learn how to teach from this guy.
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 👑
Thank You!
@@KunalKushwaha❤❤❤❤
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!
Thousands of dollars???
@@raoaman2122 woh ketan parekh hai uske pass paise ki koi kami nahi hai
Bruh this basic af. What are you talking about lol? These comments are super hyperbolic
It's 12AM but never too late for learning.
Watching this right away🔥🔥🔥🔥🤩
Hope you enjoy it!
@@KunalKushwaha
yeah sir we will
Thank you so much sir for this playlist ❤️🙏
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. 🙏🙏🙏🙏👏👏👏
You're very welcome!
++
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
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.
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
You’re welcome
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?
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.
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
Thank You! 😄
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
@@sohamborale7314 darr kon raha .. timepass kar ne ko koi mila nahi kya.. idhar aa jaate hain pakane
@@nehurane you literally said "always feared DSA " lol
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
You are welcome!
this guy really loves what he is doing...his content is awesome..in depth and interesting
Wow🔥🔥🔥🔥🔥🔥🔥🔥itna achha explain kisi ne nahi kiya.
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 ❤
Glad it helped
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
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 ✌✌✌✌
Thanks for sharing
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 ...
@@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 .
8years experience huu in which company 🤫 ...
😂😂😂😂 8 years experience and watching a normal and simple programmer's tricks it means 8 years fake experience
maza agaya sir ji dil khush hogaya
i love you again
You are the best. Million times better than the computer teachers in my school. Thank You Sir.
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🙌🙌
glad I could help!
@@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
@@KunalKushwaha Java
@@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..
@@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--).
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 :) ❤
I always didn't understand concentric pattern q 31 very well but you cleared all my doubts thank you
You are most welcome
Your such a goat in this trending and u covered everything with approaches no any another person deserve it.your are just remendous
Outstanding free course.... Thanks KK
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
Great 👍
Good Bro
This was a lifesaver man , Big Thanks to you and may you be blessed with tremendous success in all your future endeavors
The way he explained patterns is so easier than we can ever solve🔥🔥
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.
kya padhaya hai bhai amazing
i love you
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. 💯
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
word
@@KunalKushwaha ?
@@himanshu_1422 he's agreeing with you
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.
Welcome aboard!
One of the Best tricks to solve the patterns🔥🔥
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
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
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❤️
I just want to help others
@@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 ❤️
@@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.
Bro I always had phobia for pattern questions no lecture couldn't help me understand how patterns works ...... Your video was awesome 🙏🙏🙏🙏
Glad to hear that
I was mad confused why you were running the loop 2N times glad you addressed it later.
Thank you Kunal for this needful session.your way of teaching is very grateful.
He's Such a underrated Person he deserves 1M subs ❤️❤️
I have literally subscribed with all my accounts, because I really like the content!
Thank You!
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
You are welcome 😊
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 .
amazing lecture , every programmer should learn from him
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
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.
Thanks a ton
@@KunalKushwaha lots of love mate.
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❤
Glad it helped!
This is the best trick ever I had seen in approaching any pattern questions in java
This world needs more people like you. Thanks alot!!!
Hey Kunal, Just loving this series till now 😍. Thanks for creating this. 🙏
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!
Nice work!
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❤
You got this!
@@KunalKushwaha 🖤
DID U GET INTO COMPANY ?
@@shahadtuglak1906
Best DSA course in the world thnx kunal for your playlist
Just saw 5k new subscribers in one week which is testimony to quality of teaching. A big shoutout to Kunal.
This is video should be trending on RUclips , absolutely awesome content , cleared my many doubts
Ticket to master DSA. Thank You Kunal. How can someone be so selfless and inspiring.
Keep up the hard work!
❤❤
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!
Welcome aboard!
exceptional explanation
For pattern 3 we can take inner loop as j=i; j
People wait for money heist, programmer waits for DSA boot camp by KK
I think Kunal bhiya you missed (n-row%n) for column loop when row>n...for pattern 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
The best way to learn pattern printing problems
Easy and logical method 👍👍👍👍
Thank you for this DSA course, Kunal! Love from Kazakhstan!
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 ...
I appreciate that!
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
Bro , in diamond pattern there is a space after star also ... how did u handle that part ???
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 .
your explanation is super 🔥🔥
bhai namaskar😀. this was my first video on your channel I became a fan of you. from Karnataka
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....🤩🤩
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......
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
Thanx for sharing!
thank you bro
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.
Beautifully explained
Bhaiya i felt difficulty while solving pattern based questions but when u uploaded that video ---I personally feel-" ab to ho jayega"
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.
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.
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.
Maan gaye prabhu.........Love it😊
Just clear my doubts. Now I can solve any patterns that I will face in future. Thank you very much Kunal.
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?
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
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!
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
amazing creator! amazing course! day by day loving Java
Great course!!
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
Correct
What you need then one single formula that applies to all question . 😅
Thanks for saving 1 hour time
There is not trick to achieve your goal
if u know how to solve a particular question u know its trick, simple
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
Hey kunal,
After this Bootcamp please Start web Dev
This Person is owesome!. Very excellent teacher. Way of teaching is very unique and the man is energetic too.
Thank You for making this video. I have learnt a lot.
How do you get energy and time to do this much for free?! Excellent content!
I want to make a change