How to solve any Star Pattern Program

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

Комментарии • 839

  • @shankumondal2881
    @shankumondal2881 3 года назад +247

    The most compact video ever seen in RUclips for Star 🌟 pattern.

  • @prasad7367
    @prasad7367 2 года назад +50

    In right side triangle pattern
    The condition (j

  • @abbddullahh
    @abbddullahh Год назад +65

    Have had an interview today, watched this explanation in the morning, wrote the program, explained him each and every step, got selected (obviously, he asked me many other thing as well but this was really helpful).
    THANKS ALOOOT!!!❤

    • @user-fv5iq3fx3z
      @user-fv5iq3fx3z 10 месяцев назад +3

      thats concerning

    • @TimelessXen
      @TimelessXen 8 месяцев назад

      has to be a joke lol
      @@user-fv5iq3fx3z

  • @varshnianandh1007
    @varshnianandh1007 3 года назад +187

    Omg,i never appreciate Coding channels for their lengthy blogs,but this one is truly amazing,Leart the concept in 18 min,which my teacher took months to complete...Well done

  • @nandutsreekandan8776
    @nandutsreekandan8776 Месяц назад +4

    The video is really helpful to understand the basics of pattern printing...❤
    But there is a minor mistake in the pattern printing of diamond.
    It shows j

  • @siddharthgupta1558
    @siddharthgupta1558 2 года назад +36

    Amazing, Amazing explanation. If schools have teachers like this life would be so easy for all the kids. I can solve any * pattern question now in my sleep also. Had never got such easy coding for patterns. Not sure if it is efficient in terms of time complexity but surely can crack the interview with this. This channel should be the bible to all the ones who are learning to code. Thanks a lot once again.

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @muhammadhuzaifa5462
    @muhammadhuzaifa5462 2 года назад +10

    I was tired of drawing these shapes and it looks like that probably I cannot learn and probably I would fail in my mid term examination but I randomly find this video I learn from it. Such a great video. I am coding in C++ but this helps me a lot. Bundle of Thanks

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @shreyamatade409
    @shreyamatade409 3 года назад +11

    I can't tell u I hunted for this since so long and cud never get such an easy trick to solve it out! You're the best!

  • @ibrahimtweneboahasiedu1587
    @ibrahimtweneboahasiedu1587 7 месяцев назад +5

    Really helpful. I'm currently taking the cs50 class by Harvard and was struggling for nearly a week trying to solve the first problem set until now. It was basically about a pattern creation. I'm new to coding and I just don't want to be copying code without deeply understanding the logic and how it was created from scratch and that is exactly what this video did. Great work!!!! Very much grateful.

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

      Bruh, I'm in 9th grade in icse. We have these things as basics in java.

  • @JJJJ-gl2uf
    @JJJJ-gl2uf Год назад +10

    I'm trying to produce shapes in Java as well. There are plenty of videos showing how to do this, but this video has the most clear explanations of what to do and why it should be done that way. Great work, many thanks.

    • @JJJJ-gl2uf
      @JJJJ-gl2uf Год назад +2

      I had trouble with my right sided triangle, it didn't look right. But @14:00 you explained why that was so. In order to make my triangles a bit wider I was printing the stars with " * " [space star space], so when I printed my spaces I needed to include three spaces.

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

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

    super explanation........ on RUclips, everyone starts teaching without understanding the minds of students.... but you are an exception...you really know where students might get confused.... I hope this channel grow very fast....thanks so much for the content...... liked the video.... and subscribed to the channel....

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

    Never learnt Java this way, actually understood the logic behind the program

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @ezrakim1323
    @ezrakim1323 Год назад +3

    OMG!!!! This video is OP. I had been casually programming for almost 3 years now. But patterns are always my biggest weakness. Now, I'm in college and I am forced to learn how to do pattern. I honestly thought I'll never actually learn it as I'm still good in other stuffs. But I need to pass the exam and that's where this video comes in.... It's the best video I have ever watched seriously. I'll always check your channel for other programming doubts I have.

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

    I was a Rookie in pattern printing programs. But now, i can write any pattern printing program in java. This video helped me a lot. Hats off to you ma'am 😘😘😘😘😘😘😘

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

    The bestest ❤️❤️❤️. I was struggling to understand the concept of star pattern since 2 years . First time i got the bestest video . I have heard almost all the teachers , have gone through all channels but i finally understood here . 🙏

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @anuragkumarsharma3926
    @anuragkumarsharma3926 2 года назад +32

    Never thought that printing pattern will be this much easy. Thank you ma'am for this exhilarating video on pattern, Really boosted me in clearing for loop.

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

      how to solve Revere Right Triangle Star pattern very simply way in java

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

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

    I was preparing to my exams and this was the right video that I needed to watch😍😍😍. Thanks Simply Coding!

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

    Indeed a great video ....always had the struggle to solve the pseudo codes with star patterns..bt this video made Star patterns such an easy & one of my favourites from now on..!! Thank you!

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @SS-fz6qt
    @SS-fz6qt 3 года назад +1

    In the right sides example (increasing space and decreasing star) the condition in the first nested loop will be ( j

    • @SimplyCoding
      @SimplyCoding  3 года назад

      Yes. However it does not matter as it does not impact the * pattern

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

    In right sided triangle , the condition for spaces is incorrect, it should be for( j=1; j

  • @hashiqms9549
    @hashiqms9549 9 месяцев назад +15

    From brototype

  • @SRNR_PODCAST.
    @SRNR_PODCAST. 3 года назад +19

    i am crying after i solve all the patterns thank u mam👍🏼

  • @ashokkhare1227
    @ashokkhare1227 3 года назад +11

    For the right sided triangle, Since we have to print a total of 5 elements in each row which means in the first row there should be 4 spaces and 1 star. so the for loop for spaces should run from i=1 to i

    • @SimplyCoding
      @SimplyCoding  3 года назад

      Correct! Since only 1 in 100 figure this out, this is purposefully kept out as it does not matter as the star pattern shows correctly.

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

      This pattern is shifted one added space and makes two or more patterns each easier !

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

      Correct but space is not visible so it will not matter both of you are correct

  • @mariamcagadas6007
    @mariamcagadas6007 11 месяцев назад +3

    Ma shaA Allah Tabarak Allah
    Thank you very much. Within 18 minutes
    I learned a lot from this video
    May God bless you and increase your knowledge so you can share with us too.

  • @ayyappagandikota861
    @ayyappagandikota861 3 года назад +21

    what can i say? This is the amazing work done to let us understand in a very simple and clear way.I want this channel to grow very fast and hit a million . "KNOWLEDGE IS POWER"

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

    After two years of programming, I finally understood this! Me crying out of happiness. 1+ new subscriber

  • @gizmoknow-how2022
    @gizmoknow-how2022 3 года назад +12

    Only this goddamn video helped me master pattern building through loops! Thank you friend!!

  • @Aditya-Pathariya
    @Aditya-Pathariya 3 года назад +21

    Excellent explanation mam. These pattern programs have consumed a lot of my time and now I finally understand how to approach them. Very good video 👍🏻

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

    I have listened many classes in patterns but I could not understand properly. But at first time I understand this in only 30 min..
    thank you madam for wonderfull explanation. and do more videos in other programming languages..

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

    Her explanation with picture of star movement and how outer loop and inner loop, is amazing!!!

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

    i'm just speechless. i just forgot how to appreciate her precious work. Unbelievable to describe her hard work. Carry on mam. Love from Bangladesh

  • @Unknown-qx7zh
    @Unknown-qx7zh 3 года назад +9

    You have no idea how much this video has helped me. I am going to see all the videos from this channel to be better with patterns. Thankyou so much ma'am for doing such a great explanation

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

      Thanks! You might want to watch the next part, which is number patterns - ruclips.net/video/uyu_jf01a74/видео.html

  • @Jashu_nani
    @Jashu_nani 4 месяца назад +1

    debugging the code in step by step process was awesome .....

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

    After 2 days of wasting time.. i finally found the video which i really need❤️

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

    Mam your method of teaching is awesome ❤️❤️

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

    Thank god! Finally understood the actual concept of patterns. U are a precious gem 💎!!! May the Almighty reward ur efforts😇

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

    Y Ytb recommend this video after watching very worst videos on star pattern programming.. dis wll get earlier to me, I became learn as fast as possible.. good thing is now I got dis video.. great and easy explaination to understand..

    • @SimplyCoding
      @SimplyCoding  3 года назад

      Thank you so much! Really appreciate!

  • @speaknow.
    @speaknow. 9 месяцев назад +3

    i'm a computer engineering student and even though i'm learning C, you helped me a lot so thank u

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

    I was avoiding this design pattern concepts. Tbh when needed to learn, i was searching for videos with more views so that i could get to know design patterns despite, it was proven wrong! Learnt within less than an hour. Thanks a ton!!✨

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

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

    I have been so confused serching here n there on RUclips. This video just polished every concept just few mins thank a lot mam ... Saves lots of time. This type of teaching is the teaching which saves our time.♥️

  • @shandeshchaudhary-ps1tz
    @shandeshchaudhary-ps1tz 4 месяца назад +1

    omg, this is the best video on solving star pattern problems

  • @prasaddevathi09
    @prasaddevathi09 4 месяца назад +1

    So love your way of explanation, Thanks for making me fearless.

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

    Truly amazing and simplistic video .. Now I am able to create different patterns on my own .. Thank you it is really helpful 👍

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

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

    These videos are really helpful, I watch them with my friends on Voicely whenever we practice coding. We all agree that we learned more from RUclips videos than from school lol

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @tetosamuel6294
    @tetosamuel6294 6 месяцев назад +1

    Thanks ❤❤ from egypt

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

    My left year is blessed 🥰

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

    Thanks a lot !! Completed my Engineering but was always afraid of these patterns and was not able to create these programs , now after 2 years of my engineering , now I am able to do that :} hahaha

  • @a-g4132
    @a-g4132 8 месяцев назад +1

    nice video, it help me to understand star pattern with a simple methodologie ,thank you a lot

  • @piudev711
    @piudev711 Год назад +15

    Let's take a moment to appreciate this tutorial,
    This is a type of tutorial everyone needed🙏 never stop uploading

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

    Never ever watch this much easy and understanding pattern program video 😀 thanku so much for creating this video

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

    Wow this is SO GOOD!
    For the 5th one: you can also do:
    for ( int j = n ; j >= i ; j - - )
    This makes more sense to me since the outer loop starts with high to low, so decrementing would make more sense.

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

    i love youtube teachers so much for making my life so easy omg

  • @user-ds4ym3hs4e
    @user-ds4ym3hs4e Год назад +1

    Salute 🫡 bro, may be I can never get this kind of explanation in you tube. You have reached next level of next level. No one can beat this.❤

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

    Amazing! Thank you from Germany

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

    thank you. today i was in very depression mode because of not knowing printing pattern. this video made my day. I'll have better day.
    ps: posting at 3 am ist.

  • @kensh851
    @kensh851 4 месяца назад

    I love how this is so informative. Full of knowledge alotted in a short amount of time.

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

    Excellent. Cleared a lot of concepts. Thank you!

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

    After watching many many tutorials like I always forgot how to star patterns. This video made it clear. Thank u

  • @vijay4703
    @vijay4703 10 месяцев назад +1

    wow ,what a great explination, why you guys are not uploading videos. be consistent it will be help many people.

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

    THANK YOU SO SOO MUCH FOR THIS VIDEO! Thank you for patiently going through everything step by step and explaining everything!! 'Bows down head to the ground to show greatfulness'.

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @gamittejas781
    @gamittejas781 3 года назад +3

    During this pattern understanding time period i've discovered new solution for Hill pattern and reverse hill pattern. i tried this both pattern using same logic as right sided increasing triangle and right sided decreasing triangle. what i did is when we have to add spaces in loop as mam said we add two spaces right!!! instead of that if we add only one space it will become the both hill and reverse hill pattern. so that we don't have to add some more code also here i use only

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

    el video estuvo genial. muchas muchas muchas gracias por esto senora

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

    This video can make even a non-coder to code pattern of stars. Such beautifully explained the concepts

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

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

    Best pattern video I have ever watched....made my life easier. Good work!!!

  • @AmitKarlekar-g2h
    @AmitKarlekar-g2h 4 дня назад

    never seen an easiest method to solve the pattern programs than this ever. After watching this, moving on to your next video for the pattern related programs. I was unable to solve the double hill pattern though. Could you please guide me, how to do it?

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

    Thank you so much.
    I was wasting almost hours to decode the sequence of space and stars.

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

    Thank you for this useful video !

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

    Hill pattern was incorrect it will print 5 space instead of 4
    It should be for ( int j = i ; j < n; j++
    Or int j =1 ; j

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

    I am at loss for words to describe how happy I am to learn that this tutorial exists. honestly!

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

    Very useful. Now we can easily understand the logic for any kind of pattern problems.

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

    Im doing this in JavaScript but the logic is so good and compact in this video. Thank you.

  • @Reyanuddeen-i3h
    @Reyanuddeen-i3h Год назад

    Very clear explanation of patterns in java. Hope this video reach every student.

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

    hands down one of the video on pattern problems, thanks a lot, keep up the good work!!

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

    super video seriously. I reffered many top youtubers but no one like this

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

    i cant explain how much this channel helped me. I was literally failing computer and now i am enjoying it so much, Thank you so much mam u really helped me so much

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

    Unbelievable approach Mam ❤️ 🙏 Never ever seen a coding channel like this 👍

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @user-su6ho5vh4i
    @user-su6ho5vh4i Год назад

    one of the best video I had ever seen. I am so confused about patterns and searching the n number of videos but these videos made me feel, the patterns are so complicated. after I saw this video t had done about this all.
    such a great useful video
    🥰

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

    since i started learning C language, i didn't comment to any channel like "wow it was good". however now i feel like i have to xD. what an explanation. clearly and simply explained. thank you!!

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

    Thanks to you I have managed to understand this algorithm.

  • @VivekKumar-gb1yw
    @VivekKumar-gb1yw 3 года назад +2

    I was a noob But now i can make any pattern. This helped me a lot❤️

  • @dagashanriczens.1155
    @dagashanriczens.1155 9 месяцев назад +21

    Bruh the right sided Triangle is showing a Whole different kind of Shape

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

    Such a simple way of teaching!!

  • @AO-wj4ie
    @AO-wj4ie 2 года назад +2

    This teacher just broke down the science of loops. I'm not sure how much time I might have had spent on understanding loops otherwise. Thank you.

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

      Mam, please make video for the same in python language.... Its a request...

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

    Omg ....
    Superb explanation....so good mam

  • @ronans.2340
    @ronans.2340 11 месяцев назад

    Thank you so much, I've been struggling to understand loops in programming and so far, this is the only video that made it clear and precise, thank you very much

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

    this is sooo valueable. i was really struggling with patterns but after watching this a am able to solve patterns.
    a hugggeeee thanks to the creator

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

    Really Amazing

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

    The most unique understanding video for java beginner to print star pattern

  • @user-kz4bh4up3b
    @user-kz4bh4up3b 2 года назад +2

    Your lesson is amazing, ma'am. It has a very clear explanation. I learned a lot. It's very useful. You explain the logic very well. Thank you.

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

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

    I am back, I am having trouble printing the double hill pattern. I broke down the pattern into 3 shapes. 1) Pyramid 2) reverse pyramid (filled with spaces) 3) Pyramid. Not sure how to tackle this one. Any help would be appreciated.
    EDIT: I think I figured it out. Not sure if it is the most efficient, but I instead broke down the double hill into 7 different triangles.
    I made an outer four loop and inside there are 7 inner for loops. I did this in JavaScript, so I hope you guys can convert to your language:
    let n = 5;
    let string = "";
    for (let i = 1; i

  • @Sarah-re7cg
    @Sarah-re7cg Год назад +6

    This video is incredible. It runs through key concepts with accompanying visuals and that really helps nail things down on another level. Thank you so much for making this! Subscribed!!

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

      Bro can u tell me where to apply these code im tried on browser console it just shows count

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

    Good clear everrrr!
    This clip make me subscribe you because your graphic and explain is normal people can understand.
    😊😊😊

  • @freaklafreak4338
    @freaklafreak4338 Месяц назад +1

    this one legitimately helped me

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

    Thank you mam 💝

  • @karthickm7776
    @karthickm7776 17 дней назад +1

    mam in the reverse mountain pattern the value for outer forloop i.e i is wrong. the correct code is given below
    public class revhill {
    public static void main(String[] args)
    {
    int n = 5;
    for(int i = 1; i

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

    It's good to see this video..I never saw the pattern video in a easy manner..Thanks a lot...I have understood clearly now...

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

    Thank you so much for this gem. You really deserve more audience/subscribers.

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

      ruclips.net/video/W0PkBxsQwiE/видео.html

  • @preetramgarhia13
    @preetramgarhia13 3 года назад

    No one teach pattern like this ...its very easy 🐱🐱🐱

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

    best video on youtube for pattren solving

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

    Thank you very much ma'am, you really made it so easy for complex pattern. Tomorrow I have lab exam and now I'm damn confident. Thank you 😊😊😊