This video will change the way you think when coding
HTML-код
- Опубликовано: 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. - Наука
“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
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 😂
@@abhijeetdesai4097 actually :)
Dude, it was a basic math wtf
Anyone who've done algebra in their childhood will know to take x & x+1 as inputs...
hello bro , there's a typo , 0.1 / 2 == 0.05 right and since we are asked in cents , 0.05 means 5 cents as 100 cents means 1 dollar
What happened to the 5 cents irl that's a loss
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
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.
Very immersive animations. Loving this style of explanation, Sahil!! 🔥
Breaking down problem into smaller chunks really helps and I've solved many problems with this simple approach.
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🇮🇳🇮🇳
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
This explanation is not for beginners!
😂😂😂😂
I know it for babies 😂
True
Thanks. I already felt stupid
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
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 video is not for beginners, it's for those who know everything …… and he speak very fast.
this guys is gem. keep the great content up sir
Amazing... What a research, What a explanation, What a content you providing is really Amazing ❤❤ Thanks. You are a Practical Professor.
This is a great explanation for some of the code I have seen but couldn't understand how or why they did it.
I already exhausted by thinking logic
And after watching this video my mind is blast
Sure, you don’t have to reinvent the wheel for something, but that depends on what you need. I’m not going to import an entire library for something small and then have to deal with 3rd party maintenance on something I can simply do myself and conserve space.
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
Excellent , elegant , filled with information and productivity and the royalness in teaching , Thanks for such a information. #PowerCouple #Supercode
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
This is called quality content
Excellent video, thank you!
is this video ai generated?
Nah !
Yep
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
Love your video
Can you like make a mock technical interview video, where you show how you would go about a coding interview.
This has been really insightful!💕
Could you please make a video about chatgpt and the future of programming?
the fast and slow brain thing it reminds me when i used to play chess sometimes i used to take quick decisions and late decisions. and often lose when took quick decisions and the more i take time in decision making the better i got in new planing strategies.
Can you explain more how ball will costs only 5 dollar?
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! 😢
Damn, this is great 💪
your videos are so beautiful and inspiring thank you
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 ❤❤
Showing water in a tea pot before saying it becomes the tea pot while talking about becoming what youre formed to, blew my mind.
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 🙏
Not bad, I'm in it!
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...!
Great ❤️🔥
Amazing one
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.
Which application do you use for animations in your videos?
That was great
Nice sharing👍👍👍
Thanks 🙏
One of your best videos
great explanation
Nice video Thanks for sharing
Thanks ❤️
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. 😂
Sahil! What your are telling is amazing
U deserve more than million subscribers that's what I feel
Thanks 🙏
What you have said does not apply to timed coding exams
Very good video 🔥
Where did the 5 cents go
Irl that doesn't make sense
If you buy a bat and ball 1.10 and separately it is 1.05 why would i opt to loose 5 cents
Can someone explain this to me
Sir ,did u have any sheet code for improving problem solving in leet code
Thanks
Amazing content... you explain like a pro.. wonderful animations and presentation...thanks
Thanks 🙏
Then why all are they conducting aptitude test in recruitment process
Price of bat is $1.05 and ball is $0.05, I used system of equations btw.
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
Thx for adding Bruce Lee statement ❤
The Bruce Lee quote is referring to philosophy from Sun Tzu's The Art of War.
Just wow...❤❤
❤️❤️
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
❤
💙💙💙
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 : $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
Thanks a lot for sharing, Sahil ❤
could you please make a video about web development and software development?
Thanks 🙏
6:17 bro gave a NCERT biology book example of natural selection
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
Please give us Roadmap for Ethereum blockchain development
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.
You'd be good recursion teacher
Can anyone explain to me why the answer is 5cents?
🙏👍
Nice Vid 👍, Bcome the water ♥
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.
Why this video is going over from my head 😅
bat + ball = 1.1
ball + 1 = bat
=> 2 * ball + 1 = 1.1
=> ball = 0.05
=> bat = 1.05
Nothing to say you content is alway great
If we assume the cost of the ball is $0.10, let's see if it satisfies the conditions of the problem:
Cost of ball is $0.10.
The bat costs $1 more than the ball, so the bat costs
0.10 + 1 = 1.10
Now, let's add the cost of the ball and the bat:
0.10 + 1.10 = 1.20
The total cost comes to $1.20 --- not the same as the problem's given total of $1.10
So yes, you need to do the math.
I am such a bad programmer and I realized this when I could not even understand your video when you explain n digits 😪
Why did i use simultaneous equations to calculate the answer for the bat ball problem 😂
I got the right answer
Hello brother...❤
Become water my friend
So copy and paste really is half the battle.
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.
You said more that could be 9 to 1 cents
a true fun fact : you need to become a nerd to excel in cs field
It is 5 cents
Your style of explanation is really good.
Thanks 🙏
Thank you very much indian David blaine😁
bat=$1.05 , ball=$0.05
Very nice, bit i cringed a bit when you called blockchain and Web3 revolutionary 😅
105 and 5 cents
thats helpful 🙂🙂🙂🙂
The ball cost is 1 doller less the bat
programing☝❌
History👍😎
5 cents
ball cost is 10 cents
If the ball cost 10 cents then the bat cost $1.10 and the total would be $1.20
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