Logic Building in Programming - 5 Proven Strategies (2024) 🔥
ฝัง
- เผยแพร่เมื่อ 1 มิ.ย. 2024
- In today's video, we're diving deep into the world of programming logic. Whether you're a seasoned developer looking to sharpen your skills or a newbie just starting out, mastering programming logic is essential for writing clean, efficient code that gets the job done.
TimeStamps ⌚
00:00 Call to Rohan
00:34 Introduction
01:17 Tip 1
04:31 Tip 2
05:09 Tip 3
06:46 Tip 4
10:07 Tip 5
10:47 Conclusion
12:44 Call?
►Checkout my English channel here: / @programmingwithharry
►Instagram: / codewithharry
python, C, C++, Java, JavaScript and Other Cheatsheets [++]:
Playlist: • Coding CheatSheets 🧾 b...
►Learn in One Video[++]:
Python Course with 5 Projects: • Python Crash Course in...
Python[15 Hr]: • Python Tutorial For Be...
Python Advance[3.5 Hr]: • Python Programming Cou...
Python[1 Hr]: • Learn Python In Hindi ...
Python[2 Hr]: • Python Tutorial In Hin...
Python[15 Min]: • 15 Minute Python Tutor...
JavaScript[1 Hr]: • JavaScript Tutorial
C[1.3 Hr]- • C Programming Tutorial...
php[1 Hr]: • Learn Php In One Video...
php[2.3 Hr]: • Php Tutorial for Begin...
php[Project]- • Login And Registration...
HTML[30 Min]: • HTML 5 Tutorial For Be...
CSS[8.5 Hr]: • CSS Tutorial In Hindi ...
CSS[1.4 Hr]: • CSS 3 Tutorial For Beg...
Wordpress[3.2 Hr]: • How To Make a WordPres...
Angular[2 Hr]: • Angular Tutorial in Hindi
Java[2.3 Hr]: • Java tutorial in hindi 🔥
Web Scraping[1 Hr]: • Web Scraping Tutorial ...
MongoDB[2 Hr]: • MongoDb Tutorial For B...
Numpy[1 Hr]: • Numpy Tutorial in Hindi
Android Dev[12 Hr]- • Android Development Tu...
Linux[1 Hr]: • Linux Tutorial For Beg...
JQuery[1.1 Hr]: • jQuery Tutorial For Be...
Git and GitHub[1.1 Hr]: • Git & GitHub Tutorial ...
►Complete course [playlist]:
React: • React Js Tutorials in ...
Python- • Python Tutorials For A...
OOP Python- • Object Oriented Progra...
Java: • Java Tutorials For Beg...
JavaScript- • JavaScript Tutorials I...
PHP- • PHP Tutorials in Hindi
C- • C Language Tutorials I...
C++- • C++ Tutorials In Hindi
Git & GitHub- • Git and GitHub Tutoria...
Android Dev- • Android Development Tu...
Python GUI- • Python GUI: Tkinter Tu...
Web Development- • Web Development Tutori...
Python Django: • Python Django Tutorial...
Projects Using HTML, CSS & Javascript- • Projects Using HTML, C...
Data Structure and Algo: • Data Structures and Al...
Follow Me On Social Media
►Website (created using Django Rest & Angular): www.codewithharry.com
►Facebook: / codewithharry
►Instagram: / codewithharry
Twitter: / codewithharry
Comment "#HarryBhai" if you read this 😉😉
I also want to add Reverse Engineering
get somebody's code try to understand it break it modify add your own masala to it do whatever you want to do with it and observe there outputs
try to add those methods in your problems if possible
this method helped me a lot to learn coding and logic building
Yes looking at other people's code and learning from it has immensely helped me especially during my earlier days of learning to code.
Muje to aj tak reply nahi kia bhai, 3 saal me
@@3LineOfCode Aur tu firse ignore ho gya XD 😂
@@parasmanku7536 lol
@@parasmanku7536 bc kismat khrab bichare ki 😂
Watching your videos since 2020 , still love it ❤
Thanks buddy :)
Awesome video harry bro ❤
The editing, backgrounds, concept everything is just 🔥♥️
right 👍👍
Thanks :)
I really felt hopeful today after this video.U gave the absolute logic building roadmap.
Thanks!!
Shahnawaz this side, watching your video since 2021 (started in 2020 but not consistent) learned c/c++, html, css, JavaScript, Java, Python from your videos. Right now working as a java full stack developer in a good startup. The values I got from your videos can't be payback by just saying Thank you, but I can't do more than that right now so Thank you from the bottom of my heart. I wish you also made some videos for java developers like springboot and microservices etc.
Yes Please Create Video's on Full Stack Java Development with Projects. So many concepts of spring boot, hibernate, jsp, one to many and many to one relational database is confusing.
1.Practice.
2.Clean structure code.
3.Dry code.
4.Duck explain code.
Bhaiya muje question bhi mil rahe practice krne ke Lia koi website vatao jo basic questions bataiye har ek topic pe pleace reply 🙌🙏
Bro I am watching your videos since 4 Years and I have learned so many things even I got a job in a company by only doing you courses.
You have helped a lot of people and by just creating videos you have solved lot's of peoples problems.
Bhai bahut bahut thank you aapko. Jo pichle 4 saal me nahi mila vo bas 13 min me milgaya.
Practice kaise krne hoti hai? And javascript kaise sikhni hoti, and kya kya dhyan dena hota kaafi time hogya but mai abhi bhi shayad zero hu, koi bata sakta hai
Harry! You are convaying Avery good message by these role play concepts.
Usually we get angry with how people treat us.. but how you are reacting in these acts is like a mirror to us to self examine...
And by watching your reactions to someone's expectations with anger is reviving.. Good job man thanks for introducing such inspiring concepts..
थैंक यू भैया
मैं शुभम् बिहार से हूं।
मेरे भी मन में यही डाउट कितने दिनों से चल रहा था आज आपकी कृपा से मुझे सहानुभूति मिल गई। आपका चैनल भी सब्सक्राइब कर दिया ।कोटि कोटि धन्यवाद आपको
Harry bhai
Ap ki videos bahut helpful hein mein ne December 2023 mein start kia our ajj mein php mein login system complete ho gia hy
Thanks Harry bhai
Harry bhai Best Programming tutor , bhai i followed your full python ,javascript course i love the way you teach amazing you are
first intro Jabardast Harry Bhai. Bollywood per sagat hey apka
kamalll Harry Sir
The editing, backgrounds, concept everything is just 🔥♥
Sir, I'm really very lucky I got u as a teacher of programming because of u within 6 months I have completed core Java with a half of Android development thnx a lot 🎉🎉
Harry bhai we all are waiting for your new video on Sigma Web Development please complete that playlist. That will be very beneficial for all of us.
Worth Watching every second ❤
Watching your Videos from 2019, and you are just too amazing. Love you
Great suggestions, but I believe it's not perfect list
You can include
Spend some time understanding problem at hand
Break it down to smaller problems (like if hangman, then only consider win case and ignore losing cases)
Plot it visually on flowchart
Try writing pseudo code
Do dry runs on paper first (with variable states changing etc) instead of checking the output of your written code
Use Thonny
Repeat
This will be a better way of training yourself for problem solving (aka logic building) in programming
Additional tip is do some tasks of Neuroplasticity
All the above tips are from my personal 8y+ experience, and I was called "Logic Master" by my peers
Nice.. :)
Hi! Coder guru,
I am Faraz Khan from Pakistan Watching your videos on YT,
the good news is that I am from a non-tech Background and have started learning coding ( Programming) in Python.
I learnt half of the Python programming language, right now.
I also followed the tutorial and did Hand Dirty side by side.
Now
I would like suggestions from you for further path_way towards Data Analyst. That will help in my Tech journey in future.
I really appreciate any help you can provide.
Waiting for a valuable suggestion!
Much needed video for a beginner Harry bhai!!
It's not only a coding tutorial, It's a Cinematic masterpiece 💖
Kya cinematic tha isme ?
@@Osman_Harun Have u seen mrwhosetheboss and channels like that?
Sir you help me alot to again start my work with new spirit and devotion. Thank you very much.
I started programming by watching your videos, Harry bhai. Love you!
you are the best.
Hello sir hm apko 2 year se follow kr re h bht kuchh seekha h sir hmne apse nd thnkyuuu so muchh sir apke vedios bht achhe h sb smjh m ata h nd bht hi positive vibes ate h apse sir next month first interview h mera python developer ke liye plz achhi si blessings de dijye rply m 🍫🍫🥰🥰🥰🥰
Itna accha to mujeha koi nahi samjya sir love you from purulia❤❤❤❤❤❤❤❤
thank you harry bhai as a failed web dev learner from last 2 year I am restarting my journey than you so much and this time I will get my first job I am pretty much confident now
YES!!
Logic Building is the most fundamental thing to master!!
And true the more you indulge in different aspects the better!!
Thanks Harry Bhai!!
Aapko dekhke mene khud hi logic building sikh li or mene 20 complex projects bana dale...thanks for your guidance ❤❤
Please tell me brother I'm beginner & mjhe blkl idea nahi kese logic building sikhe dsa sikhe please btao
@@gauravsoni7775 bs tum ek language pkdo or inke channel PR dekho, sikho or programmes build kro...basics bhi ache se sikho....agr code with Harry ki videos se kroge or sikhoge toh ek din bhaut acha kroge
thoda kaam feko yaar
@@ishaanms9194 yrr fekne ke liye kuch ho toh feeku
@@SoftMotion mei programming 2 saal se kar raha hu... direct 20 complex project bana hi nhi sakte Or bans bhi liya tho itna easily logics build nhi hoga
U're best teacher in world love u Harry bhaiya❤❤❤
you are a hero of programming world .I just love the way you teach❤
Thankyou harry.............is vedio ki bahut zada jarurat thi
Thank u bhaiya love uuu❤
Rentionng mast ha 😂😂😂😂 video ka last ma do tutorial dakhna ka bat Kia or complete karna bola right thank you so much bhai 😊❤
Harry bhai aapki videos ko dekhte dekhte 3 saal ho gye pata hi nhi chala par bhit kuch seekhne ko mila
Luv U
the line you said "no one can say he is a 100% in programming" , is the main point, if someone will say that he has everything, it means he has learnt nothing. You are a pro Harry bhai, I watch your videos often, you are my first teacher and thanks for that.
Haris Bhai aik Java se DSA par bhi playlist bnao Basics to Deep Advance 🥺
Bilkul sahi bole bhai
Bhai main se sigma web development suru Kiya hey❤
To build code logic of any program, you must learn concept of mathematics such as even or odd numbers or prime numbers. For mathematics in computer programming, you must know operators given below:
Arithmetic Operators:
+ Addition 1+1=2
- Subtraction 2-1=1
* Multiplication 2*2=4
/ Division 6/2=3
% Modulus if 6/2=3 then 6%2 is equal to 0 that means 6 is even number. if 7/2=3.5 and 3.5 is decimal value then 7%2 is not equal to 0 that means 7 is odd number
Assignment Operator:
int x = 10;
x=x+5; // x=15
Comparison Operators:
== Equal to if(x == y){}else{}
!= Not equal if(x != y){}else{}
> Greater than if(x > y){}else{}
< Less than if(x < y){}else{}
if statement condition is true then then program inside if(){} will execute but if statement condition is false then program inside else will execute
Another syntax:
if(){
}
else if(){
}
else{
}
if statement condition is true then then program inside if(){} will execute but if statement condition is false then program inside else if(){} will execute
Google search how to find greatest number or calculate prime factor of a number. Read and understand from starting of JavaScript tutorials and check if variable declaration and initialization is useful in finding greatest number. Read and understand from JavaScript tutorials and check if arithmetic operator is useful in finding greatest number. Read and understand from JavaScript tutorials and check if relational operator is useful in finding greatest number and so on. Program 1 to find the greatest number from 3,1 and 5 given below:
const arr = [3,1,5]; //arr[0]=3, arr[1]=1, arr[2]=5
var i=0;
var greatest=arr[i]; //greatest=3
i=i+1; //i=1
if(greatest>arr[i]){ //if(3>1)
}else{
}
i=i+1; //i=2
if(greatest>arr[i]){ //if(3>5)
}else{
greatest=arr[i]; //greatest=5
}
Program 2 using loop to find the greatest number from 3,1 and 5 given below:
const arr = [3,1,5];
var i=0;
var greatest=arr[i];
// while loop is executed 2 times because we have written i=i+1 and if(){}else(){} 2 times //previous in Program 1 given above
while(iarr[i]){
}
else{
greatest=arr[i];
}
}
Thank you so much Harry bhai. It's beneficial video. I needed this type of video🌸
Thank you soo much
I have tried to code many times but failed due to lack of daily practice and proper planning...... but this video really gives me lot of planning and clarity....Thanks #HarryBhai for making this useful video..💌💌💌💌💌💌
Practice kaise krne hoti hai? And javascript kaise sikhni hoti, and kya kya dhyan dena hota kaafi time hogya but mai abhi bhi shayad zero hu, koi bata sakta hai
thanks bro!!!!!!!!!!!! I NEEDED IT.
Thank you so much for this awesome video
I had no idea of programming when I started my bachelors and I have worked a lot hard spent hours solving problems still I'm trying my best and no doubt I have seen improvement in my logic building
Practice kaise krne hoti hai? And javascript kaise sikhni hoti, and kya kya dhyan dena hota kaafi time hogya but mai abhi bhi shayad zero hu, koi bata sakta hai
@@galacto5100 actually ma c++ seekh rhi hu so javascript ka idea to ni ha but consistencency is needed try kry ka aik din bhi coding skip na ho and try to solve problems . starting ma solve ni bhi ho gi but aram aram sy samaj ay ga
Level ha harry bhai aap ka love from Pakistan.. ❤
Thanks so much dude, this video helped a lot. This is exactly what I needed today, you explained my situation 100%.
thanks harry to keep motivating, looking forward for such content in your future videos
Every Thing Is Temporary But Rohan Is Permanent 😂😂
Shubam is also
@@user-oj7mk1tq8k 😂😂
Main thing as a beginner i have experienced and felt is that once u solve a simple problem and when your code works it really gives an immense confidence and it gives u the energy as well to solve bigger problems 🎉🎉🎉🎉. So , CONFIDENCE Boosts your logic building ✨
And about talking to the duck i would suggest record your video and explain it to yourself, this will improve your communication too.🎉🎉
Thank you for this video ❤😊
Your videos will always motivate to improve myself bhai ,thank you so much
00:08 Logic building problems can be solved with proven strategies
01:31 Practice is key to understanding and mastery
02:56 Logic building is dynamic programming.
04:43 Emphasize module separation and reusability for better code structure and flexibility.
06:25 Using the DRY principle reduces redundant code and increases code reusability.
07:52 Rubber Duck Method helps in understanding and explaining concepts effectively
09:17 Work on real-world projects to develop programming skills.
11:28 Continuous improvement in logic building is key to programming
Thank you harry bhai main 3-5 days sa shuru kiya hai ya platform mai logic building but 3-4 din sa na hone ki wajah sa mai depressed ho gaya tha but apka video dakh phir se mera motivation is back i will do coding next day i solve 4 question after seeing this video and it s fun many many thanks harry bhai ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
Bhaiya muje question bhi mil rahe practice krne ke Lia koi website vatao jo basic questions bataiye har ek topic pe pleace reply 🙌🙏
@@Rohit-nv4cq coding bat only for java or python else language you download question pdf for practice
All the things Harray bhai told were reality based! Always to the point👍
Thanks Harry bhai. This video was really helpful
Offff! That rubber duck method short clip 😂❤
thank you bhaiya
I have learned all things from your videos harry bhai, but practice jyada kaise karu ? Apki video ke sath code ho bhi jata hai lekin jaab apne ap kuch create karne baithe to nahi hota develop. And I am on your channel since my college start 2020. We love watching your videos. Please don't stop creating videos in future.🙂❤❤❤
1:11 Yes But better than before after watching your videos Harry Bhai. Thanks a lot for all this ❤.
Bruh The Ringtone
Yes , I completed your C language Course
Harry bhai Creativity..!
Loved it ❤
I really needed it and you just helped me a lot bhaiya, Thanks!
Respect too Harry sir and I am also watching Sigma batch op
same
My Programming Logic Is Decent. But I Am Very Bad At Debugging The CODE
I have learned more than half of Python from your course alone. You are like the godfather of programming, according to us. I hope you will also bring a new course on Django.
Video me knowledge and representation bahut achha hai bhai...
Mera motto hai ki mai aisa dashboard banau ki koi code enter kare bade bade and mera code usse summarise karke short bana de, in python
Already done by chatgpt
Means ky code ko optimized Kary
SHARE
EVERY ONE IS SENDED FOR ONE PURPOSE,NO MATTER WHO YOU ARE NEVER LEAVE THIS SUPPLICATION'ALLAH MAKE MY WORK EASY FOR ME'
yes, Thank you sir Harry
Sir you explained everything in very clean and detail manner. I am very much interested in Web automation testing so can you help us with Automation Tutorial like selenium or playwright tools.
Humble Request
Thank you
1:13 yes
Bro please help me to solve this problem 😢
Q. Given a set of items with weights and values, and a maximum weight capacity, find the combination of items that maximizes the total value without exceeding the capacity.
Can you give the link to the problem?
thank you so much harry bhai you helped me a lot in the journey of my coding life ♥
Thank you harry bhai ❤, you are best as always ❤
All things aside thanks for the home tour 😂
Poora dashboard bana lia hai sir Chatgpt se and aapke sare django puthon ke videos dekh dekh ke. but react me problem hoti hai and new sigma ka playlist abhi review baki hai 14 video pe hi pahocha hu
Kya problem hai mere se puch lo
@@saxenabhavesh6941React mein logic kaise strong kare?
@@dragonemperor8648 bhai pehle ek kaam karo js ke string and array method ke basic 5-10 questions solve Karo like filter find and map on maping on nested object , spread operator and itc this topic will help to build a logic in react as well
Hats off to bhaiya this video really needed ❤ same with me and unable to solve leetcode DSA questions still after learning concepts please bring a detailed roadmap for this
Thank you so much Harry Sir for change my fear mind
Bard is now Gemini 😊
main uninstall kr rha hun vs code yrr , mere se nhi ho rha h yrrr...🤣🤣🤣
😂😂😂😂
Haris ali khan bahut khushi hue apka naaam maloom hone ke bad apke video bahut dino se dekhta hoon haris bhai bahut help hoti hai
U are the bestest teacher i ever meet thankyou so much ☺️😊
I waste my 3 4 hrs in silly mistakes 😢😢
Same 😢
Be like a robot.. no emotions are applicable.. keep on doing it..
Don't disappoint yourself because these silly mistakes will make you pro coder.
Never forget practice makes man perfect.
Once I wasted 1-2 hours due to missing of just semicolon😂
@@fkwebdev 😁😂😂 ❤
I code in python 😉
@@ayushkhaire6244 exactly python doesn't have any semicolons😂 but here Laravel which h is PHP framework
I am from Pakistan but still love your work❤
That Was Amazing Sirji Thanks
Thanks brother for your guidance
Those who eats their lunch and come here or eating now😂
Bhai tujhe kaise malum 😂😂
Same bro 😅
Saare din me bus Breakfast, Lunch and Dinner ka hi time milta hai jisme thoda free realise karta hun 😵
Dinner
same here bro 😂
dinner
Thank You So Much Sir For This Video😊❤
Thanks for this video ❤
Those who above 18 =like. Those who under 18 = comment.
Thanks harry bhai for this video...🙌🏼
The new style to make a video is awesome
Harry bhaiya
aapke jaisa koi nahi samjha sakta is duniya me
Aap hamare liye itna sab karte hai harry bhaiya aap jaise bahut kam log hai is duniya me main aapse dil se pyar karta hu ❤
I am a beginner of coding programming and Meta AI is really help full
this video is very helpful for me thank's harry bhai
nice tips, thanks, jazakAllah
consistency is the key thank you so much ❤
Thanks for this Video