Flow of Program - Flowcharts & Pseudocode
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
Others: Let's binge watch Netflix
Programmers: Let's binge watch *Kunal Kushwaha*
Doing that right now!
Let's go boiii đ„đ„đ„đ„đ„đ„
Hell yeah!!!
Same here
đŻđŻ
Everything is Temporary, but "Hey Kunal!" is permanent XD
isme if ka block khatam hone ke bad ENDIF bhi likh skte h na???? bro
@@dark_techyy it is used when their are multiple conditions.
elseif likh saktah hooo
đđ
Yeah đ
this man is just on fire right now...đ„đ„đ„
Really yr
trueeeee
Although I know this basic, when you TEACH, learning again feels exciting !!! I am 52 by the way now!
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 âš
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! :)
hey do you solve their assignments .
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. â€ïžâ€ïžđ„đ„đ„
I know all the basic stuff but still I love to watch Kunal teaching.. â€ïžđ€©
Great work.. đđ»đđ»
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 đ„
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
thanks dear...
@@imcongenial3767 Most welcomeđ
Thanks but i still did not get it
Will have to watch again
@@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
This series is going to be the life saviour for many of us!! Thanks buddy!! Awesome đ„đ„đ„
did you complete the series ?
Where do you work now đ
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
Hey I'm happy that 2 videos got uploaded on the same day. But we don't want our mentors to overwork themselves.
Imagine how he managing stuffs for free only for us. .. â€ïžâ€ïž
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.
Really thankful to you, Sir. Learning is made easy by teachers like you.
He is a real talented person and providing his knowledge to the students. Great Contribution bro.
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...
Thank you đ„
You are a top G!!
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");
}
}
}
@@praveenchowdari252 Buddy, what about numbers like 25? The condition is insufficient.
@@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;
}
}
}
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...ââ
Completed this today on 19/08/23 , will stay consistent for the whole series. Thanks for the content.
Where you are now at Topic?? Since started.
The amazing man Kunal grasping things with crystal approach.
You are great man. đ„đ„Thank you for providing this level of knowledge đŻ. Appreciate your hard work đđ
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...
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.....â„ïžâ„ïžâ„ïž
Hi bro, i am from Uzbekistan, i have started watching your videos , i really like all of them,thanks for your work
Amazing bro didn't expected this video today appreciate the hardwork kunal bhaiya!!!! đ
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.
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â€
should I follow this for c++ ?
such a quality education he is providing love you bhai..with consistency and hardwork one day we all will be succeedâ€ïž
Amazing video Kunal. Though I know all these things , I am listening just to recall my basics. Thanks a lot!!!
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!
I am surprised , never found myself enjoying studying this much ! Thanks KK :)
Now that's something we call quality content
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..!!!.
Wow!! 2 videos in one day.. That's awesome.đ€©đ€©
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
Thank you, I will
keep up the pace! loving it
Bro your on fire đ„đ„ thanks for the frequency I have placements and non cse student so your videos are really help ful đ thanks man đ
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
this is the quality content we all are looking for
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.........
# 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 âđ
After finishing watching your video...keeps on eagerly waiting for next one ..
Fire! Awestruck by your dedication, bhaiyaâ€đ
This lecture has opened my brain to think in different ways specially I felt at this moment 22:16 .Thanks Kunal sir.
Back to back dhamaka đ„â€ïž
It's going really exciting đ 2 videos a data thanks for this Speed bro,I just completed first video with notes ...
"My Work Speaks for Itself" ___ words.. Great to learn from you.. âș
Damn bro , You are on fire đ„ Keep up the spirit
this is the perfect teaching kunal......keep it up......and plz do the vedios on python with DSA...
It never gets boring listening to Kunal:)
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 đ
Exciting classes ..More to go..đđđ„°đ„°
Even though I already know the concepts still love to watch your videos
The amount of dedication.. The best thing is that everything is in English unlike other CZcamsr who deliver content in hindi. Love from Tamilnadu.
watched your 3 videos in a row, thanks for the knowledge you are providing for freeđ
Awesome! Thank you!
for me the best java teacher award goes to kunal.....respect for youđ
Absolutely legendary !
Unexpected today ..... U r so consistent đđđ
Awesome video, please keep making this videos, it is very helpful thank you
I just want to Thank you bro.
I don't have any word for you
Salut Manâ€ïž
Loving the series, i hope you complete the remaining by this year please
Great man đ„ really finding it great and effective â€ïž
day 2 of consistency. love this playlist.
24:42 We can say that we have to run the loop until the square of c is
love your Teaching and high quality content đ„
thanks manâ€
Yes now I got it you won't stop đ„łđ„ł
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 â€ïž
Neat, Clean and one of the best content
Great work Boss. Really Appreciate. â„ â„ â„
đđbasics
Thank you for such quality content and the enthusiasm to teachđ
Awesome video kunal!!
Watched on 2 Aug 2021
Thanks Kunal for your efforts đđ
This channel will grow exponential
best online teacher ..... learning from Nepal
26:41 That damn smileâ€
You doing good work i am in your batch really u r amazing đ
hey kunal! you are really doing great job.
keep going
xD
I am in love with this guy...
â€ïžâ€ïžđđ
Amazing content and explanation .Thanks a lot sir .
Most underrated asa course on CZcams đ„
Awesome thanks kunal!
Concept explained most awesome way really thank you brother â€ïž â€ïžâ€ïžâ€ïžâ€ïž
huge respect bro.Thank you
lots of love Kunal! you're doing an incredible job đ€đ
great video that explanation of prime number iteration was so good
Finely get complete course thanx kunal
Bro Kunal I have a computer science exam tomorrow and I didnât understand anything from my teacher thanks for making my life easier
Keep up the good work :)
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.
Thanks for 2 videos in 1 day
Love u bro ...i need this type of attitude
Thanks Brother for such a amazing video
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.
Thank you so much!! I really mean it.
Thank you kunalđđ»â€ïž
Dsa bootcamp announcement video 1lakh views congratulations đđđđđđđ„łđ„łđ„łđ„ł
Thank you Kunal.
.Really appreciate your hard work
Thank you Kunal bhai â€ïž