Add Binary (LeetCode) | Adding Binary Numbers as Strings Explained

  Рет қаралды 20,430

Jyotinder Singh

Jyotinder Singh

Күн бұрын

Link to the Code: gist.github.com/JyotinderSing...
Link to the Problem: leetcode.com/problems/add-bin...
Link to my GitHub: github.com/JyotinderSingh
Link to my Website: jyotindersingh.com/
Timestamps:
00:00 - Problem Introduction
00:54 - Quick Intro to Number Systems
03:59 - Algorithm Explanation
05:23 - Coding Walkthrough
_______________________________________
Some great channels to learn more:
Tushar Roy: / tusharroy2525
Errichto: / @errichto
Nick White: / @nickwhite
Kevin Naughton Jr: / @kevinnaughtonjr

Пікірлер: 28
@khushijain8146
@khushijain8146 2 жыл бұрын
This is one of the best videos for this problem's solution. I loved the explanation.
@JyotinderSingh
@JyotinderSingh 2 жыл бұрын
Glad to hear that! Please consider subscribing for more content!
@melanieprevot4926
@melanieprevot4926 Жыл бұрын
This is indeed the clearest explanation! Thank you!
@jimmyopot1972
@jimmyopot1972 3 жыл бұрын
I didn't study CS on campus, thanks for helping me understand how binary works.
@JyotinderSingh
@JyotinderSingh 3 жыл бұрын
I'm glad you found this useful! Be sure to subscribe for more content!
@kajalgoyal7062
@kajalgoyal7062 2 жыл бұрын
Easiest Explanation found!! Thanks
@6112arjun
@6112arjun 2 жыл бұрын
Excellent explanation man. Liked and subbed
@teeshadembla6920
@teeshadembla6920 5 ай бұрын
amazing explanation!!!
@jagrutitiwari2551
@jagrutitiwari2551 2 жыл бұрын
Amazing video. Keep going.
@amirkazi
@amirkazi 2 жыл бұрын
Excellent explanation.
@poojasugandhi6295
@poojasugandhi6295 2 жыл бұрын
Literally best video, I checked many but liked your video explanation "the best".
@JyotinderSingh
@JyotinderSingh 2 жыл бұрын
Thank you so much for kind words!
@devbhattacharya153
@devbhattacharya153 2 жыл бұрын
Thanks sir a lot for helping!!!
@technologicalvivek7510
@technologicalvivek7510 11 ай бұрын
Very nice explanation brother
@laisdeghaide9853
@laisdeghaide9853 3 жыл бұрын
Next week is my Facebook interview (the last one and I'm kinda nervous), you're helping me a lot. Thank you.
@JyotinderSingh
@JyotinderSingh 3 жыл бұрын
I'm so glad to hear that! I'll definitely try to squeeze in a couple more videos onto the channel by then! Best of luck!
@VillageJoker
@VillageJoker 3 жыл бұрын
how did your interview go Laìs
@anands3119
@anands3119 Жыл бұрын
Very useful....'
@harsimrankaur9566
@harsimrankaur9566 3 жыл бұрын
Well explained!
@JyotinderSingh
@JyotinderSingh 3 жыл бұрын
Thanks a lot! Be sure to subscribe for more videos!
@gta6515
@gta6515 3 жыл бұрын
Hi, could you please tell why have you took i and j as a.size()-1 and b.size()-1 respectively, shouldn't their values be a.size() and b.size() . As indexing if string starts from 1 and not 0 . Could you please clear this?
@JyotinderSingh
@JyotinderSingh 3 жыл бұрын
i and j refer to the total number of traversable elements in each of the strings. As you see we start inside the while loop from the rightmost index of each of the strings. Had the value of i or j been a.size() and b.size() respectively - it would have led to an index out of bounds exception, since the last element of the string is at position (size - 1)
@tarunbehera934
@tarunbehera934 Жыл бұрын
why "i--" and "j--" are decremented inside the array 'a' and 'b' and Not just before the ending of the while loop??
@20-213K.abhilasha
@20-213K.abhilasha 2 ай бұрын
we cannot use it as a[i] & b[j] it is not an array
@abelyohannes2226
@abelyohannes2226 Жыл бұрын
Bro can u help me out on a lil code its for school project please just hint bro
@mohitvashisth2933
@mohitvashisth2933 2 жыл бұрын
ascii 1 is represent as 49 not 31
@awful999
@awful999 Жыл бұрын
0x31 in hex is ascii 1
LeetCode 67. Add Binary Solution Explained - Java
10:24
Nick White
Рет қаралды 46 М.
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 5 МЛН
1,000 Diamonds! (Funny Minecraft Animation) #shorts #cartoon
00:31
toonz CRAFT
Рет қаралды 41 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 19 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Gaussian Primes Visually
12:29
TheGrayCuber
Рет қаралды 39 М.
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
Number of Subsequences That Satisfy the Given Sum Condition (LeetCode)
12:24
E00: Software Drag Racing:  C++ vs C# vs Python - Which Will Win?
23:30
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 598 М.
HOW TO WIN MONOPOLY EVERY TIME
10:59
What's What
Рет қаралды 4,1 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 13 МЛН
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 1,4 МЛН
Это iPhone 16
0:52
Wylsacom
Рет қаралды 1 МЛН
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН