Flow of Program - Flowcharts & Pseudocode

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 29. 06. 2024
  • In this video, we discuss the flow of the program. Giving you insights about how to visualise your algorithms using flowcharts and turn them into pseudocode.
    We cover concepts like if conditions, loops, and also learn how to find whether a number is prime or not in an efficient way.
    Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
    👉 Resources
    - Join Replit: join.replit.com/kunal-kushwaha
    - Complete Java DSA playlist: ‱ Java + DSA + Interview...
    - Code, Assignments, & Notes: github.com/kunal-kushwaha/DSA...
    âžĄïž Connect with me: kunalkushwaha.com
    =========================================
    Timestamps:
    0:00 Introduction
    0:44 Flowchart Symbols
    0:57 Start/Stop
    1:00 Input/Output
    1:12 Processing
    1:22 Conditions
    2:12 What are Flowcharts?
    3:13 Question-1 using Flowchart
    4:13 Question-2 using Flowchart
    5:40 Question-3 using Flowchart
    11:55 What is Pseudocode
    12:59 Pseudocode of Question-3
    15:35 Pseudocode of Question-2
    17:13 More Explanation of Question-3
    22:00 Optimised Prime Solution
    26:44 Outro
    #placement #dsa #interviews

Komentáƙe • 575

  • @noname-hj3by
    @noname-hj3by Pƙed 2 lety +421

    Others: Let's binge watch Netflix
    Programmers: Let's binge watch *Kunal Kushwaha*

  • @sujalsamai6459
    @sujalsamai6459 Pƙed 2 lety +452

    Everything is Temporary, but "Hey Kunal!" is permanent XD

  • @ayushmondal9281
    @ayushmondal9281 Pƙed 2 lety +154

    this man is just on fire right now...đŸ”„đŸ”„đŸ”„

  • @chessbd
    @chessbd Pƙed 2 lety +23

    Although I know this basic, when you TEACH, learning again feels exciting !!! I am 52 by the way now!

  • @roshanmhatre8810
    @roshanmhatre8810 Pƙed 2 lety +185

    If I had the power to give your videos Million likes, I would have done without a second thought.
    Although I know this basics, but when you TEACH, learning again feels exciting ✹

  • @gunjanchaudhary2999
    @gunjanchaudhary2999 Pƙed 6 měsĂ­ci +22

    I have never during my hunt for “good programming courses” come across such playlist which I can binge watch literally lying in my bed , yet not falling asleep or feeling bored. Learning from you is interesting. Thanking you for all your efforts. God bless you! :)

  • @jayaditya5513
    @jayaditya5513 Pƙed 2 lety +38

    This is literally a golden video , u just need common sense to solve these type of problems ,it's the CONCEPT, now I understand why programmers say language doesn't really matter. â€ïžâ€ïžđŸ”„đŸ”„đŸ”„

  • @manavshah7033
    @manavshah7033 Pƙed 2 lety +56

    I know all the basic stuff but still I love to watch Kunal teaching.. â€ïžđŸ€©
    Great work.. đŸ™ŒđŸ»đŸ™ŒđŸ»

  • @ashwinharsha1268
    @ashwinharsha1268 Pƙed 2 lety +48

    Just today I was thinking about learn the flow charts 😂
    Kunal , You are dope đŸ”„đŸ‘€đŸ˜‚
    This is really helpful ❀ we support you 🌠 keep on doing the good work đŸ”„

  • @aishwaryamurugappan5138
    @aishwaryamurugappan5138 Pƙed 2 lety +123

    Just in case, if anyone finds the final square root optization at 24:51 a bit confusing, I believe what he was trying to convey was , if (c*c) 4

    • @imcongenial3767
      @imcongenial3767 Pƙed 2 lety +1

      thanks dear...

    • @aishwaryamurugappan5138
      @aishwaryamurugappan5138 Pƙed 2 lety

      @@imcongenial3767 Most welcome😁

    • @shubhamdubey2061
      @shubhamdubey2061 Pƙed 2 lety +17

      Thanks but i still did not get it

    • @shubhamdubey2061
      @shubhamdubey2061 Pƙed 2 lety

      Will have to watch again

    • @BROOKnim
      @BROOKnim Pƙed 2 lety +21

      @@shubhamdubey2061 its simple .. so lets take 17.. we start with 2 right 2*8=16 so go to 3 3*5=15 and 4*4=16 now is there any need to check with numbers greater than 4 ? no beacuse if we take 5 we are going to check 5*3 which we already did in 3 .. so it is enough to check if c

  • @rahulmanipal6679
    @rahulmanipal6679 Pƙed 2 lety +90

    This series is going to be the life saviour for many of us!! Thanks buddy!! Awesome đŸ”„đŸ”„đŸ”„

  • @gsy594
    @gsy594 Pƙed 2 lety +12

    Thankyou so much Kunal for uploading another video on same day. I really like and appreciate your efforts and dedication.
    love you brother.
    Keep going

  • @soujanyad1772
    @soujanyad1772 Pƙed 2 lety +26

    Hey I'm happy that 2 videos got uploaded on the same day. But we don't want our mentors to overwork themselves.

  • @user-cl2ki2cz7g
    @user-cl2ki2cz7g Pƙed 2 lety +16

    Imagine how he managing stuffs for free only for us. .. ❀❀

  • @hariomsingh1736
    @hariomsingh1736 Pƙed 2 lety +2

    I genuinely love you man...
    and i want to thank god who has made of you just for us.
    I am dam sure things will change very soon as your passion towards work and wisdom to change it both is with you. and you also have true people like us who will support you as much as possible.

  • @aryanmishra8535
    @aryanmishra8535 Pƙed 2 lety +8

    Really thankful to you, Sir. Learning is made easy by teachers like you.

  • @saketbarnawal2167
    @saketbarnawal2167 Pƙed 2 lety +7

    He is a real talented person and providing his knowledge to the students. Great Contribution bro.

  • @p.d5545
    @p.d5545 Pƙed 2 lety +31

    For anyone who is having issue dealing with the prime number question, here is how I understood it .....
    Let's take a large prime number 4397,now if you take the original code which we used in question 3,what that code will do is, start dividing the number by 2,then divide the number by 3 then divide by 4 and so on till 4397, to optimise this what kunal did was he saw that the pattern repeats midway (like if we check for 2 then we need not check for 18 (in case of 36)because both 2*18 and 18*2 are the same things)and wrote a code such that as soon as the computer hits that midway it stops
    Wrote this since i had a little bit of confusion at first but later after thinking for a while i got it...

    • @imnoone8532
      @imnoone8532 Pƙed rokem +1

      Thank you đŸ”„

    • @jackdanksterdawson112
      @jackdanksterdawson112 Pƙed rokem +2

      You are a top G!!

    • @praveenchowdari252
      @praveenchowdari252 Pƙed rokem

      import java.util.*;
      class Arrays {
      public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
      int number = sc.nextInt();
      if (number%2==0||number%3==0) {
      System.out.println("not prime");
      }else {
      System.out.println("prime");
      }
      }
      }

    • @sufiserious798
      @sufiserious798 Pƙed rokem

      @@praveenchowdari252 Buddy, what about numbers like 25? The condition is insufficient.

    • @praveenchowdari252
      @praveenchowdari252 Pƙed rokem

      @@sufiserious798 import java.util.*;
      class Arrays {
      public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
      int number = sc.nextInt();
      for(int I = 2;I=n) {
      System.out.println("prime");
      break;
      }
      }
      }

  • @ritumansata6314
    @ritumansata6314 Pƙed 2 lety +3

    after watching your videos,i feel like nahi kabhi history me aisa teacher aaya hai aur na kabhi future me aayega....just another levell,no words...✌✌

  • @wecodetogether_
    @wecodetogether_ Pƙed 10 měsĂ­ci +7

    Completed this today on 19/08/23 , will stay consistent for the whole series. Thanks for the content.

    • @shiva.sareddy
      @shiva.sareddy Pƙed měsĂ­cem +1

      Where you are now at Topic?? Since started.

  • @mdasadullah2638
    @mdasadullah2638 Pƙed 2 lety +2

    The amazing man Kunal grasping things with crystal approach.

  • @divyanshinarang1299
    @divyanshinarang1299 Pƙed 2 lety +3

    You are great man. đŸ”„đŸ”„Thank you for providing this level of knowledge 💯. Appreciate your hard work 🙌🙌

  • @rushie8654
    @rushie8654 Pƙed rokem +2

    The Best Playlist Ever i liked on CZcams ..... bro you are great u are incredible and thank you so much for such student community upliftment ..... i never commented on any youtube video from last 6 years but now i am commenting on your video ..... u are delivering the greatest of knowledge on free platform bro GBU with incredible success...

  • @hydecover549
    @hydecover549 Pƙed 2 lety +3

    Bro loved that you introduced the complexity factor by simple maths great work. Now I feel I can get a job a as self taught programmer.....♄♄♄

  • @siddiqjonnumonjonov8083
    @siddiqjonnumonjonov8083 Pƙed rokem +4

    Hi bro, i am from Uzbekistan, i have started watching your videos , i really like all of them,thanks for your work

  • @rajulmahto1082
    @rajulmahto1082 Pƙed 2 lety +3

    Amazing bro didn't expected this video today appreciate the hardwork kunal bhaiya!!!! 😇

  • @biswajitdebnath9331
    @biswajitdebnath9331 Pƙed 2 lety +6

    Well begun is half done. So no doubt everyone is in the right place. Eagerly waiting to reach in that level which I am dreaming and only you can help me to do that.
    Love and respect from Bengal.

  • @Abhijeetsingh-gc7bq
    @Abhijeetsingh-gc7bq Pƙed 2 lety +5

    He knows magic his long videos are ending like it was only 5min video it feeling very blessed to have a mentor like him love u Kunal❀

  • @vlogboyRaja887
    @vlogboyRaja887 Pƙed 2 lety +3

    such a quality education he is providing love you bhai..with consistency and hardwork one day we all will be succeed❀

  • @harshitha4886
    @harshitha4886 Pƙed 2 lety +1

    Amazing video Kunal. Though I know all these things , I am listening just to recall my basics. Thanks a lot!!!

  • @arushitripathi8068
    @arushitripathi8068 Pƙed 11 měsĂ­ci +1

    Love love love this lecture! I had already started another playlist for Java. That guy did teach everything but somehow it all felt a little rushed and I wasn’t really getting the basics right, because I feel the explanation wasn’t good for someone who doesn’t have a CS background. I found out about Kunal via random LinkedIn search above Java playlists and boy oh boy, he has explained this lecture SO VERY WELL. I’m keeping my fingers crossed that he continues to teach in a similar way and I can finally find a decent job in a decent company in the IT sector. I’ve been confused for so long now!

  • @Almita-ql1gt
    @Almita-ql1gt Pƙed 7 měsĂ­ci +1

    I am surprised , never found myself enjoying studying this much ! Thanks KK :)

  • @sahilsuman3820
    @sahilsuman3820 Pƙed 2 lety +1

    Now that's something we call quality content

  • @sivaramireddygudisa1887
    @sivaramireddygudisa1887 Pƙed 2 lety +3

    Great bro !!! Good initiative this Community classroom will help many job aspirants towards a successful career and inturn they will help in contributing towards Community Classroom initiative. Once again Thanks Kunal Kushwaha for spending your time to give quality content for free to all..!!!.

  • @swethalakshmes4282
    @swethalakshmes4282 Pƙed 2 lety +1

    Wow!! 2 videos in one day.. That's awesome.đŸ€©đŸ€©

  • @orio6708
    @orio6708 Pƙed rokem +15

    I have started seeing your playlist bro and I am from Bangladesh. Loving your teaching method and explanation. Hope you will be always there for the international community. Please upload new videos in the playlist soon

  • @masroorshah4968
    @masroorshah4968 Pƙed 2 lety +1

    keep up the pace! loving it

  • @anshumanrout6505
    @anshumanrout6505 Pƙed 2 lety +3

    Bro your on fire đŸ”„đŸ”„ thanks for the frequency I have placements and non cse student so your videos are really help ful 🙏 thanks man 👍

  • @gautamkumrawat5527
    @gautamkumrawat5527 Pƙed rokem +2

    Hello Kunal sir this is an amazing course for absolute beginner in computer science i request you to please complete this course this will benefit a lot for the community

  • @deepanshu7266
    @deepanshu7266 Pƙed 2 lety

    this is the quality content we all are looking for

  • @rhkthegamer2384
    @rhkthegamer2384 Pƙed 2 lety

    FORM BANGLADESH, YOU ARE THE REAL HERO OF HUMAN BEINGS. YOU SHOW THIS BY YOUR TEACHING AND EXPLAINED EVERYTHING LIKE SMOOTHER AND UNDERSTANDABLE.... LOVE YOU BROTHER. KEEP IT UP PLEASE.
    MAKE THIS MORE , LIKE ALL COURSES RELATED TO COMPUTER SCIENCE...MY REQUEST IF POSSIBLE TO JAVA-SCRIPT.
    I WANNA UNDERSTAND BY YOU, PLEASE DO A JAVA-SCRIPT COURSE.....
    LOVE & PROUD OF YOU...... YOUR THOUGHTS IS AWESOME.... PLEASE HELP US. PIECE KNOWLEDGE LIKE UNDERSTANDABLE. DEEP IN EVERY TOPICS. REGULAR VIEWERS
    UPGRADE THE HUMAN BEINGS AND GIVES US THE TOOL OF UNEMPLOYMENT.........

  • @shubhamagarwal1434
    @shubhamagarwal1434 Pƙed 8 měsĂ­ci

    # GOD Of DSA
    Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May Supream Lord Vishnu Bless You ✌🙏

  • @bhawna4766
    @bhawna4766 Pƙed 2 lety

    After finishing watching your video...keeps on eagerly waiting for next one ..

  • @sushmasuresh9078
    @sushmasuresh9078 Pƙed 2 lety

    Fire! Awestruck by your dedication, bhaiyaâ€đŸ˜­

  • @nikhilraoranuva5172
    @nikhilraoranuva5172 Pƙed 7 měsĂ­ci +2

    This lecture has opened my brain to think in different ways specially I felt at this moment 22:16 .Thanks Kunal sir.

  • @santanud2001
    @santanud2001 Pƙed 2 lety

    Back to back dhamaka đŸ”„â€ïž

  • @vipulYadav-ur2vf
    @vipulYadav-ur2vf Pƙed 2 lety +5

    It's going really exciting 😁 2 videos a data thanks for this Speed bro,I just completed first video with notes ...

  • @vicktor_damian6612
    @vicktor_damian6612 Pƙed 2 lety +2

    "My Work Speaks for Itself" ___ words.. Great to learn from you.. â˜ș

  • @trickyrajan3806
    @trickyrajan3806 Pƙed 2 lety +1

    Damn bro , You are on fire đŸ”„ Keep up the spirit

  • @supriyaannapure1535
    @supriyaannapure1535 Pƙed 2 lety +5

    this is the perfect teaching kunal......keep it up......and plz do the vedios on python with DSA...

  • @SHIVAMSINGH-ec6ks
    @SHIVAMSINGH-ec6ks Pƙed 2 lety

    It never gets boring listening to Kunal:)

  • @anjalisingh2462
    @anjalisingh2462 Pƙed 2 lety +1

    Today I clearly understood the concept of prime number , thanks a lot, now I will solve all the question related to prime number,
    Tysm dear 💕

  • @anandrp8456
    @anandrp8456 Pƙed rokem +1

    Exciting classes ..More to go..đŸ˜đŸ˜đŸ„°đŸ„°

  • @vinodsamy1725
    @vinodsamy1725 Pƙed rokem

    Even though I already know the concepts still love to watch your videos

  • @aishwaryavenkataraman02
    @aishwaryavenkataraman02 Pƙed 2 lety +5

    The amount of dedication.. The best thing is that everything is in English unlike other CZcamsr who deliver content in hindi. Love from Tamilnadu.

  • @AbhishekSharma-me
    @AbhishekSharma-me Pƙed 2 lety +3

    watched your 3 videos in a row, thanks for the knowledge you are providing for free🙌

  • @udaybabele8731
    @udaybabele8731 Pƙed 7 měsĂ­ci

    for me the best java teacher award goes to kunal.....respect for you😍

  • @satyanarayanverma9439
    @satyanarayanverma9439 Pƙed rokem

    Absolutely legendary !

  • @NitinSingh-cs6lp
    @NitinSingh-cs6lp Pƙed 2 lety

    Unexpected today ..... U r so consistent 👍👍👍

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt Pƙed 2 lety +1

    Awesome video, please keep making this videos, it is very helpful thank you

  • @1Bipul
    @1Bipul Pƙed 2 lety

    I just want to Thank you bro.
    I don't have any word for you
    Salut Man❀

  • @sakshamgupta7503
    @sakshamgupta7503 Pƙed 7 měsĂ­ci

    Loving the series, i hope you complete the remaining by this year please

  • @Koustav711
    @Koustav711 Pƙed 2 lety +1

    Great man đŸ”„ really finding it great and effective ❀

  • @mind_games75284
    @mind_games75284 Pƙed 2 lety

    day 2 of consistency. love this playlist.

  • @ahmedfarazsiddiqui
    @ahmedfarazsiddiqui Pƙed 2 lety +2

    24:42 We can say that we have to run the loop until the square of c is

  • @annucurious1362
    @annucurious1362 Pƙed rokem

    love your Teaching and high quality content đŸ”„
    thanks man❀

  • @RitiKumari
    @RitiKumari Pƙed 2 lety +2

    Yes now I got it you won't stop đŸ„łđŸ„ł

  • @yashpreet2707
    @yashpreet2707 Pƙed 2 lety +1

    Hey good work man!
    Actually Maine last ji 2 videos thodi dekhi thi kyonki vo zada basic type thi
    But this is gr8 man ! Really appreciate it dude ❀

  • @ibanbatuta2744
    @ibanbatuta2744 Pƙed 2 lety

    Neat, Clean and one of the best content

  • @pulaksen4774
    @pulaksen4774 Pƙed 2 lety

    Great work Boss. Really Appreciate. ♄ ♄ ♄

  • @jayadubey_22
    @jayadubey_22 Pƙed 2 lety +1

    🙌🙌basics
    Thank you for such quality content and the enthusiasm to teach🙌

  • @TekaneChaitanya
    @TekaneChaitanya Pƙed 2 lety

    Awesome video kunal!!
    Watched on 2 Aug 2021

  • @jhanaman04
    @jhanaman04 Pƙed 2 lety

    Thanks Kunal for your efforts 😃😃

  • @raghavsharma4195
    @raghavsharma4195 Pƙed 2 lety

    This channel will grow exponential

  • @raool7
    @raool7 Pƙed 11 měsĂ­ci

    best online teacher ..... learning from Nepal

  • @someonerandom4643
    @someonerandom4643 Pƙed 2 lety +9

    26:41 That damn smile❀

  • @the_ranjit_kumar_nayak
    @the_ranjit_kumar_nayak Pƙed 2 lety +1

    You doing good work i am in your batch really u r amazing 🙂

  • @jaikushwaha1012
    @jaikushwaha1012 Pƙed 2 lety

    hey kunal! you are really doing great job.
    keep going
    xD

  • @adhiakash8145
    @adhiakash8145 Pƙed 2 lety +1

    I am in love with this guy...
    â€ïžâ€ïžđŸ˜ŒđŸ˜Œ

  • @yamunasailada3060
    @yamunasailada3060 Pƙed rokem

    Amazing content and explanation .Thanks a lot sir .

  • @techiji1645
    @techiji1645 Pƙed 8 měsĂ­ci

    Most underrated asa course on CZcams đŸ”„

  • @akshitsachdeva8262
    @akshitsachdeva8262 Pƙed 11 měsĂ­ci

    Awesome thanks kunal!

  • @naveenkumarm4511
    @naveenkumarm4511 Pƙed 2 lety

    Concept explained most awesome way really thank you brother ❀ ❀❀❀❀

  • @pranavlingsur1108
    @pranavlingsur1108 Pƙed 5 měsĂ­ci

    huge respect bro.Thank you

  • @ayushiyadav1
    @ayushiyadav1 Pƙed 3 měsĂ­ci

    lots of love Kunal! you're doing an incredible job đŸ€đŸ™Œ

  • @AKASH-qi7gf
    @AKASH-qi7gf Pƙed rokem

    great video that explanation of prime number iteration was so good

  • @sukhchainloui2092
    @sukhchainloui2092 Pƙed 2 lety

    Finely get complete course thanx kunal

  • @adamzeiada2983
    @adamzeiada2983 Pƙed 8 měsĂ­ci

    Bro Kunal I have a computer science exam tomorrow and I didn’t understand anything from my teacher thanks for making my life easier

  • @ansharora1936
    @ansharora1936 Pƙed 2 lety +3

    Keep up the good work :)

  • @mangeshpandit4660
    @mangeshpandit4660 Pƙed 2 lety +4

    lets break the limits.thank you kunal to teaching this course.the way to teach the way to explain is next level.i started your series two day back.my confidence to next level soon I will info my progress.i want to meet you.

  • @shawalkabirchy.5437
    @shawalkabirchy.5437 Pƙed 2 lety

    Thanks for 2 videos in 1 day

  • @thakurprabhakarsingh6404
    @thakurprabhakarsingh6404 Pƙed 2 lety

    Love u bro ...i need this type of attitude

  • @MonkeyD.3892
    @MonkeyD.3892 Pƙed 9 měsĂ­ci

    Thanks Brother for such a amazing video

  • @deepsarkar3959
    @deepsarkar3959 Pƙed 2 lety

    kunal when we check if(n%c==0) or not for the best case complexity before that we have to assign the square value of C into a different variable and then go to the further conditioning with that variable otherwise it will start dividing the number from 2 then 3 and so on....And this series is awesome bro the way you explained everything its great.

  • @satyampandey3136
    @satyampandey3136 Pƙed měsĂ­cem

    Thank you so much!! I really mean it.

  • @reallygoodstuff4441
    @reallygoodstuff4441 Pƙed 2 lety

    Thank you kunalđŸ™đŸ»â€ïž

  • @akhilreddybollu5551
    @akhilreddybollu5551 Pƙed 2 lety +2

    Dsa bootcamp announcement video 1lakh views congratulations đŸŽ‰đŸŽ‰đŸŽ‰đŸ‘đŸ‘đŸ‘đŸ„łđŸ„łđŸ„łđŸ„ł

  • @saurabhpatil2529
    @saurabhpatil2529 Pƙed 4 měsĂ­ci

    Thank you Kunal.

  • @SHIVAMMISHRA-yg8hm
    @SHIVAMMISHRA-yg8hm Pƙed 2 lety

    .Really appreciate your hard work

  • @nagendratalari1002
    @nagendratalari1002 Pƙed 2 lety

    Thank you Kunal bhai ❀