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

  Рет қаралды 21,195

Jyotinder Singh

Jyotinder Singh

Күн бұрын

Пікірлер: 29
@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!
@jimmyopot1972
@jimmyopot1972 4 жыл бұрын
I didn't study CS on campus, thanks for helping me understand how binary works.
@JyotinderSingh
@JyotinderSingh 4 жыл бұрын
I'm glad you found this useful! Be sure to subscribe for more content!
@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!
@melanieprevot4926
@melanieprevot4926 Жыл бұрын
This is indeed the clearest explanation! Thank you!
@kajalgoyal7062
@kajalgoyal7062 2 жыл бұрын
Easiest Explanation found!! Thanks
@6112arjun
@6112arjun 3 жыл бұрын
Excellent explanation man. Liked and subbed
@technologicalvivek7510
@technologicalvivek7510 Жыл бұрын
Very nice explanation brother
@laisdeghaide9853
@laisdeghaide9853 4 жыл бұрын
Next week is my Facebook interview (the last one and I'm kinda nervous), you're helping me a lot. Thank you.
@JyotinderSingh
@JyotinderSingh 4 жыл бұрын
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
@amirkazi
@amirkazi 2 жыл бұрын
Excellent explanation.
@jagrutitiwari2551
@jagrutitiwari2551 2 жыл бұрын
Amazing video. Keep going.
@teeshadembla6920
@teeshadembla6920 9 ай бұрын
amazing explanation!!!
@tarunbehera934
@tarunbehera934 Жыл бұрын
why "i--" and "j--" are decremented inside the array 'a' and 'b' and Not just before the ending of the while loop??
@harsimrankaur9566
@harsimrankaur9566 3 жыл бұрын
Well explained!
@JyotinderSingh
@JyotinderSingh 3 жыл бұрын
Thanks a lot! Be sure to subscribe for more videos!
@anands3119
@anands3119 2 жыл бұрын
Very useful....'
@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)
@devbhattacharya153
@devbhattacharya153 3 жыл бұрын
Thanks sir a lot for helping!!!
@20-213K.abhilasha
@20-213K.abhilasha 5 ай бұрын
we cannot use it as a[i] & b[j] it is not an array
@studentsheaven-d8v
@studentsheaven-d8v 16 күн бұрын
love from PAKISTAN.
@mohitvashisth2933
@mohitvashisth2933 2 жыл бұрын
ascii 1 is represent as 49 not 31
@awful999
@awful999 Жыл бұрын
0x31 in hex is ascii 1
@abelyohannes2226
@abelyohannes2226 Жыл бұрын
Bro can u help me out on a lil code its for school project please just hint bro
LeetCode 67. Add Binary Solution Explained - Java
10:24
Nick White
Рет қаралды 48 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 63 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 700 М.
How I Got Good at Coding Interviews
6:29
NeetCode
Рет қаралды 1,7 МЛН
Number of Subsequences That Satisfy the Given Sum Condition (LeetCode)
12:24
Add Binary | LeetCode 67 | C++, Java, Python
14:46
Knowledge Center
Рет қаралды 41 М.
Add Binary - Leetcode 67 - Python
8:01
NeetCode
Рет қаралды 64 М.
Amazon Coding Interview Question - firstNonRepeatingCharacter
14:29
Adding Binary Numbers in JavaScript (LeetCode 67)
13:29
Learning to Code
Рет қаралды 1,2 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 63 МЛН