This video will change the way you think when coding
Вставка
- Опубліковано 25 тра 2023
- "How to learn coding efficiently", this is a question that haunts many self taught programmers. In this video, I will answer this question and some others. For example:
1. How to become better at Programming?
2. How to actually make progress when learning to code?
3. How to become a Software Engineer?
► For more content like this, subscribe to our channel: / powercouple26
► Follow us on Linkedin:
/ gabag26
/ sarrabounouh
► Let's be FRIENDS! / power_couple26
► For business inquiries, reach us on: powercouplejourney@gmail.com
#learncoding #programming #softwareengineer
DISCLAIMER: All opinions shared on this channel are our own and don't express views or opinions of our employers. We only use our experiences and public knowledge to make our content. NO CONFIDENTIAL INFORMATION of our employers is used or shared on this channel. This is not a Professional Coaching channel, it only highlights the public resources that have worked for our careers. - Наука та технологія
I recently started coding and I saw a veteran programmer giving a talk on how to think like a programmer. He took off his shoe off and said something along the lines of: 'Your computer is as smart as this shoe' He meant that you need to tell a computer VERY EXPLICITLY what to do.
“In programming, you don’t need to know everything. You just need to know where to find it, when you need it.”
true, but we need to have a good problem solving skill and good logic approach
@@pierofa143 How to develop that??
Dont be the best, just know how to copy from the best
@@shouryakumar9824studying math, solving problems and practicing
MY bookmark be like : why the hell is this not ending
Awesome explanation! Great animations! Good to help us realise how not to reach quick, hasty solutions but rather think stuff through and break complex things down to simpler ones and approach problems sensibly
For those who didn't explain the bat and ball example ( don't forget he works at Google, so at his level this is like ABC thing for him, so he assumed it makes sense to all of us 😅):
bat + ball = 1.1
since bat costs 1 dollar more than a ball, lets assume ball costs x amount, so cost of a bat is ( 1$ + x ), so if we fill in the cost of bat in the equation:
(1+x) + x = 1.1 (we replaced ball with x, because we assumed x to be the cost of the ball)
2x = 1.1 - 1
2x = 0.1
x = 0.1 / 2
x = 0.5
hence, ball = 0.5
You, too, don't seem to be less than a google employee 😂
Very immersive animations. Loving this style of explanation, Sahil!! 🔥
this guys is gem. keep the great content up sir
100% knowledgeable contant at every single second
The tutor we want in our society which motivates today students to be good carrier for future
And we have a responsibility to support people like them.
Thanks you sir for your great support plz stay connected is bcoz the contant and good way of working you give is gives us a positive vibes to start from scratch to build a good skilled mindset
❤❤
Sir stay connected with us love 💕 from India,M.P🇮🇳🇮🇳
Guess it's an inspiration from veritasium science of thinking thumbnail. Good work bro. Keep going. I am getting lot of insights from your videos.
This is a great explanation for some of the code I have seen but couldn't understand how or why they did it.
Let the price of the ball be x
Then price of the bat is 1+x
Price of bat+ball = (1+x) + x = 1.10
(1+x) + x = 1+ 2x = 1.10
2x = 1.10 -1
2x = 0.10
x = 0.05 = 5 cents (price of the ball)
Thanks for sharing.
TBH, why we take bat as 1+ x?
@@NashrinFathima-oh7ji why not?
@@NashrinFathima-oh7ji because he said the bat costs 1 dollar more than the price of ball so if ball price is x then it makes the bat price 1 dollar + x.
B@@NashrinFathima-oh7ji
Because the bat price is 1 dollar greater than ball
Here the condition is 1.10 so the we conder 1 +x
Next we don't know what is value of bat and ball so that is why consider the both things are x
Showing water in a tea pot before saying it becomes the tea pot while talking about becoming what youre formed to, blew my mind.
Excellent , elegant , filled with information and productivity and the royalness in teaching , Thanks for such a information. #PowerCouple #Supercode
Amazing... What a research, What a explanation, What a content you providing is really Amazing ❤❤ Thanks. You are a Practical Professor.
This is called quality content
This is the proper video man. Respect. Well explained and delivered 👏👏👏
Thanks
@@sahilandsarra please can you become my mentor in programmer am still a boy of 14 years old eager to learn multiple languages although I know HTML Css want to learn flutter & dart python etc c++ JavaScript java pls help me Sir
This has been really insightful!💕
great explanation
Not bad, I'm in it!
Excellent video, thank you!
bat + ball = $1.10 => - $1 => $0.10 / 2 => ¢0.05. I have a problem with my algorithmic thinking 🥲 When they give us a more complex task with a one-page description (at university) I just switch off and don't know where to start. I know that with practice everything will be fine, but now it's very demotivating especially since most handle these tasks 😤Greetings from Bulgaria 🙂
Hi greetings from India, why it's getting divided by 2
$1.10 - the price of the ball = the price of the ball + $1.00
If we rearrange the equation, we get:
2 * the price of the ball = $1.10 - $1.00
2 * the price of the ball = $0.10
If we divide both sides by 2, we get:
the price of the ball = $0.10 / 2 = $0.05
Then the price of the bat equals the price of the ball + $1.00, or $0.05 + $1.00, which equals $1.05.
So, in the end, the bat costs $1.05, and the ball costs $0.05, and together they are $1.10, as stated in the initial data.
@@emil_petkov_py god damn, im just a dumb nigga i guess
@@emil_petkov_pygreat reply and explanation. ❤
@@keentoknowher give up and work in a call centre
Love your video
Can you like make a mock technical interview video, where you show how you would go about a coding interview.
your videos are so beautiful and inspiring thank you
You will not believe i wanted this video today 😮
Reason being i was unable to understand the behaviour of my mind. Due to fast brain activenes i was feeling lazy about small logics that a slow brain can process& digest
Can you make videos about how to active our slow brain
U cluster bits and pieces of all the information described in early content and implement in ur video which Is smart as well as effective...!
Could you please make a video about chatgpt and the future of programming?
Nothing to say you content is alway great
Damn, this is great 💪
Watching the code script at 1:52 i started reviewing my plans! If coding needs logic of factorial, variable, integers etc and more of algebra on day to day operations its going to take years for me to excel it while working on a 10 hours job and 24hrs family commitment! 😢
1. Use your slow thinking brain to solve problems
2. Break down the big mighty problem into smaller ones that you already know
3. You don't need to invent wheel again you need aware that where you can find solutions for your problems
4. Adapt to the new technology
One of your best videos
You are the best all time keep going you help lot young people wanting going far in programming you are inspiration for them thanks
Thanks 🙏
Great ❤️🔥
Your videos are helping a lot! ⭐⭐ In between I would like to make a request that may you please make a video on how to revise data structures and algorithms as we practice lot of questions while completing the course but it is not possible to revise all the notes and the questions before the interview. 🙏🙏
Thanks a lot.
Love you 3000 ❤❤
Thanks
That was great
Amazing one
Which application do you use for animations in your videos?
Amazing content... you explain like a pro.. wonderful animations and presentation...thanks
Thanks 🙏
This explanation is not for beginners!
😂😂😂😂
I know it for babies 😂
True
Thanks. I already felt stupid
bat + ball = 1.1
ball + 1 = bat
=> 2 * ball + 1 = 1.1
=> ball = 0.05
=> bat = 1.05
Dinesh always makes me smile! 😃👍 Great video, really helped me see my false thinking concerning programming. A similar weird thing happened with scientists watching zebras. They couldn't figure out why they didn't have a better camouflage. Why were they so black and white, why didn't nature make them a colour to blend in the landscape. But they quickly found out that they themselves had problems telling the zebras apart. So they put a stripe of red paint on the animals to distinguish them. This was a bad idea, because it helped the lions too and these marked animals were quickly killed and eaten. Sometimes hiding in plain sight is best. 😂
The Bruce Lee quote is referring to philosophy from Sun Tzu's The Art of War.
U deserve more than million subscribers that's what I feel
Thanks 🙏
Can you explain more how ball will costs only 5 dollar?
Nice video Thanks for sharing
Thanks ❤️
Just wow...❤❤
❤️❤️
Nice sharing👍👍👍
Thanks 🙏
Very good video 🔥
This video is not for beginners, it's for those who know everything …… and he speak very fast.
What if your currency has 1c and 2c pieces….?
The Bat and Ball question makes an assumption which is what I see trips up a LOT of programmers. If you want to break the ‘technical rules’ of a programming system then you’re going to have to learn to transcend the limitations of many of the assumption’s/interpretations of those rules your own mind may ‘incorrectly’ be imposing on the question/problem - not the rules themselves.
bat+ball =1.10
The bat is 1 dollar more than the ball
__________________________________
so bat=(1+ball)
I substituted it in the equation
----------------------------------
1+ball+ball=1.10
2ball = 0.10
----------------------------------
ball = 0.05
bat = 1.05
And this is counterintuitive.
Without reasoning in "slow mode", I would say "ball=0.10" immediately.
Thank for explaining it better.
bat + ball = 1.10
bat = ball + 1
ball + 1 + ball =1.10
2ball = 1.10 - 1
2ball = 0.10
ball = 0.10 / 2
ball = 0.05
You'd be good recursion teacher
Bro am a man without cs degree ,As a beginner ,I have a confusion to choose between javascript or java
If you want to learn Web Development then learn JavaScript or if you want to learn App Development or Backend only then Java is also a good choice. And don't waste time choosing a language pick one learn it along with DSA then make some projects and also practice DSA questions too. Switching to another language is easy if you have already learnt any language in full details
@@farhanashraf8962 thx bro
I know the logic and idea but while implementing the logic, I face problems. I can't implement that logic in my code. What should I do? Can u please help me, sir??
Love from Nepal🇳🇵
I would say then your logic isnt fitting to solve the problem after all and / or you missing something. It could be that you havent wrote enought code yet to implement that specific logic and you are missing the tools to achive that. Try to indentify following: does my code have syntax issues or a typo if no , and your code works fine and still doesn't produce the expected results, it might be time to reconsider your initial logic. Try to use your set of "tools" to develop your logic and later you can always refactor. Usually what helps me that i get my rubber duck (Rubber duck method) then I go inside of the debugger and line by line look at how my function / application works.
Thanks a lot for sharing, Sahil ❤
could you please make a video about web development and software development?
Thanks 🙏
0:22 How do humans solve this problem?
To be honest, before learning programming I would just pay someone on Fiver to do it for me, or if it was a test question I would rather skip and take the failing grade.
What you have said does not apply to timed coding exams
Why this video is going over from my head 😅
Then why all are they conducting aptitude test in recruitment process
💙💙💙
❤
Your style of explanation is really good.
Thanks 🙏
Find a relatable video for some new programmer generation just of because they think it's only about the doing things solve any things in any away but it all about thinking
Why did i use simultaneous equations to calculate the answer for the bat ball problem 😂
I got the right answer
Please give us Roadmap for Ethereum blockchain development
Bat : $1.05 and ball : $0.05
Otherwise bat:$1.01 and ball : $0.09 and so on
..but the bat's price should more than 1 doller
Correct the ball is $0.05
I am such a bad programmer and I realized this when I could not even understand your video when you explain n digits 😪
Price of bat is $1.05 and ball is $0.05, I used system of equations btw.
thats helpful 🙂🙂🙂🙂
Hello brother...❤
Become water my friend
Can anyone explain to me why the answer is 5cents?
🙏👍
You said more that could be 9 to 1 cents
is this video ai generated?
So copy and paste really is half the battle.
Very nice, bit i cringed a bit when you called blockchain and Web3 revolutionary 😅
a true fun fact : you need to become a nerd to excel in cs field
programing☝❌
History👍😎
I have a doubt about which email to use for logging into competitive program platforms in my college. Should I use my college email or my personal email? Which one is better?
I think this guy meditates before shooting a video
bat=1.05$ and ball=0.05$
0.05 Dollar?
why the answer is 5 cents? anyone can explain?
The question literally means exactly one dollar. The question is badly structured on purpose. 1.05 - .5 = 1 but 1 - .1 = .90, I was confused as well.
bat=$1.05 , ball=$0.05
Thank you very much indian David blaine😁
ball cost is 10 cents
If the ball cost 10 cents then the bat cost $1.10 and the total would be $1.20
The ball cost is 1 doller less the bat
105 and 5 cents
wtf is that cost of the bat example. I am so stupid without the solution I would not have figured it out.
Hello bro
2.10
How is it 5 cents 😢
N= the cost of ball
According to the equation,
N(The price of ball) + N+1(Since bat is 1 dollar more costlier than ball) = 1.10 dollars.
2N + 1 = 1.10
2N = .10
N = .05
Hope you understand
Even i felt stupid when i thought it's .10
No worries man, happens to the best of us
@@exploretheinternet2334 thanks for explaining bro
@@exploretheinternet2334 thanks
My explanation is in detail if I have made some mistakes do mention I correct it.
Now just remember the price which is 1.10 and according to the question whatever the price of the ball is the bat price will be 1 dollar more?
Example:
if the ball costs 1 dollar then the price of the bat will be 2 dollars as we have to add the
BallPrice+1(as the bat price will be 1 dollar more)
i.e 1+1=2(BatPrice)
Now for the given question, the bat+ball= 1.10 dollars and what is BallPrice=?
So, using the logic above as rough the BallPrice=.05 cent
and the BatPrice=BallPrice(.05)+1=1.05
Now adding both the prices i.e. BallPrice(.05)+BatPrice(1.05)= 1.10 dollars
Now to get the price of the ball you can now easily understand the explanation of @Explore The Internet.
N (BallPrice)
N+1 (BatPrice) i.e BallPrice + 1(from the question as Bat price is 1 dollar more)
if N = 2 (BallPrice)
then N+1 = 2+1 = 3 (BatPrice)
Now according to the question
N (BallPrice) + N+1 (BatPrice) = $ 1.10
To get the ball price
N+N+1 = 1.10 [N+N = 2N]
2N+1 = 1.10
2N = 1.10 - 1 (if we send +ve sign number from LHS to RHS it will get subtracted and Vice Versa)
2N = 0.10
N= 0.10 ÷ 2 ( here it will get divided when sent to RHS as it is the only remaining number in LHS if anyone who has studied maths in class 4th and 5th they can understand what I am saying here)
N = 0.05 is the ball price.
Thanks bro
5 cents
2:51 Creo que $0.99
My explanation is in detail if I have made some mistakes do mention I correct it.
Now just remember the price which is 1.10 and according to the question whatever the price of the ball is the bat price will be 1 dollar more?
Example:
if the ball costs 1 dollar then the price of the bat will be 2 dollars as we have to add the
BallPrice+1(as the bat price will be 1 dollar more)
i.e 1+1=2(BatPrice)
Now for the given question, the bat+ball= 1.10 dollars and what is BallPrice=?
So, using the logic above as rough the BallPrice=.05 cent
and the BatPrice=BallPrice(.05)+1=1.05
Now adding both the prices i.e. BallPrice(.05)+BatPrice(1.05)= 1.10 dollars
Now to get the price of the ball you can now easily understand the explanation of @Explore The Internet.
N (BallPrice)
N+1 (BatPrice) i.e BallPrice + 1(from the question as Bat price is 1 dollar more)
if N = 2 (BallPrice)
then N+1 = 2+1 = 3 (BatPrice)
Now according to the question
N (BallPrice) + N+1 (BatPrice) = $ 1.10
To get the ball price
N+N+1 = 1.10 [N+N = 2N]
2N+1 = 1.10
2N = 1.10 - 1 (if we send +ve sign number from LHS to RHS it will get subtracted and Vice Versa)
2N = 0.10
N= 0.10 ÷ 2 ( here it will get divided when sent to RHS as it is the only remaining number in LHS if anyone who has studied maths in class 4th and 5th they can understand what I am saying here)
N = 0.05 is the ball price.
.5
That's a cheap ball and bat
Very confusing explaining
Steps
1. Break down a complex problem (here 1 to 9) to smallest possible problem,here it could've been 1 ,but in example it was (1 ,2)
2. Increase the size of the problem,here it went from 1,2 to 1 to 3.
3. Continue this until you find the pattern, or relation between the problems , this is the main part , he used recurrence relation notations, you can use simple variables as well
True agreed! Ppl who hate paths n problem solving would give up in the middle ,😂
poo in the loo