Flow of Program - Flowcharts & Pseudocode

preview_player
Показать описание
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

=========================================
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*

noname-hjby
Автор

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

sujalsamai
Автор

this man is just on fire right now...🔥🔥🔥

ayushmondal
Автор

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! :)

gunjanchaudhary
Автор

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

chessbd
Автор

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<36, and if (c) 2 [and not c*c, which is 4] divides 36 as it's written in the pseudo code. Added this for the sake of beginners trying to understand. As always, the video and the way Kunal explains is Amazing! Can't wait to get started with Java and more fun stuff!🤩🥳🥳

aishwaryamurugappan
Автор

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. ❤️❤️🔥🔥🔥

jayaditya
Автор

🎯 Key points for quick navigation:

00:00 *📚 Discussion begins on understanding control flowcharts and pseudocode.*
00:27 *🎓 Emphasis on fundamental programming concepts like conditions and loops.*
00:41 *🔍 Introduction to flowcharts, starting with basics like Start and Stop symbols.*
00:57 *✏️ Example program to input two numbers and print their sum using flowcharts.*
01:23 *💡 Explanation of processing parts and conditions in programming.*
01:52 *🚀 Simple approaches can be used to solve complex problems using flowcharts.*
02:06 *🖥️ Flowcharts help visualize thought processes and problem-solving steps.*
02:32 *💰 Flowchart example to determine employee bonuses based on salary input.*
03:03 *🌐 Flowcharts describe complex systems, useful for beginners and advanced users.*
03:57 *🔄 Explanation of symbols used in flowcharts for different operations.*
04:40 *🛠️ Programming example with salary input, using conditions to calculate bonuses.*
05:55 *🔢 Example of using flowcharts to determine if a number is prime.*
06:58 *🧮 Start with basic number operations to build more complex logic in flowcharting.*
07:37 *🔍 Checking if a number is prime involves dividing it by numbers starting from 2.*
08:02 *🔢 A prime number has no divisors other than 1 and itself.*
09:09 *📐 To find the remainder of a division, use the modulo operation.*
10:13 *🧮 Verification involves checking if a divisor divides the number fully.*
11:10 *🚫 A prime number will not be divisible by any number other than 1 and itself.*
11:51 *🔄 Loops are essential for reiterative processes such as checking multiple divisors.*
13:04 *📊 Program conditions help determine certain actions based on input values.*
14:37 *🖥️ While loops are useful for ensuring a condition is met repeatedly.*
15:36 *🔀 Conditional checks help manage different outcomes based on variable values.*
16:51 *🔁 Understanding loops and their conditions is crucial for effective programming.*
00:18:31 *📊 Checking every number except 1 and itself determines if a number is prime.*
00:19:42 *🧮 Square root method reduces the complexity of checking if a number is prime.*
00:20:45 *🔍 Steps are reduced to the square root of the number when checking primality.*
00:22:29 *⚖️ Comparison using the square root method shows fewer steps required.*
00:24:33 *🧠 Complexity is reduced to square root method for simpler calculations.*
00:25:35 *📉 The square root method does not increase the complexity of the problem.*
00:26:03 *🌍 Prime number verification using square root method is effective and simple.*

Made with HARPA AI

harshitkumar
Автор

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 ✨

roshanmhatre
Автор

I know all the basic stuff but still I love to watch Kunal teaching.. ❤️🤩
Great work.. 🙌🏻🙌🏻

manavshah
Автор

This series is going to be the life saviour for many of us!! Thanks buddy!! Awesome 🔥🔥🔥

rahulmanipal
Автор

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

wecodetogether_
Автор

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...✌✌

ritumansata
Автор

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 🔥

ashwinharsha
Автор

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...

p.d
Автор

Imagine how he managing stuffs for free only for us. .. ❤️❤️

ѕнвнм
Автор

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

saketbarnawal
Автор

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

soujanyad
Автор

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

orio
Автор

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❤

Abhijeetsingh-gcbq