Hi nikhil sir, whenever i was searching for any coding questions if you're video is available for a particular question that time i felt so happy , because your videos are really "worth varma worth"😁😁
Anybody trying to understand `k = (k * 10) + (c - '0');`. Suppose there is a string like 54[a], we will need to create the number 54 from chars 5 and 4. So the equation helps in creating the correct number.
Your explanation is so clear that I have no need to watch another video on this problem. However Nikhil ,how to solve if the number is more than 9 i..e it may be more than 1 character to ad to the number stack ?
Hi! Congrats for your solution! I am struggling to understand this bit of code k = (k * 10) + (c - '0') I print line by line with SYSO but I'm still no able to get it. When printing I get the following : when k = 1 (k * 10): 10 (c - '0'): 1 this is k: 1 Why k = (k * 10) + (c - '0') ends up with 1? As (k * 10) = 10 and (c - '0')= 1 why k is not 11? Could you please kindly clarify it?
There is a comment issue in your pseudocode...The third condition says if there is "[". It should be "]"
Thanks for the correction. You are right.
You seem like a friend with whom everyone wants to spend more time. Nice explanation btw.
this comment is full of warmth..thanks!! 😄
I smile, when i see that a Q. has been covered by you. Thank you sir.
🤗
Your explanations were clear and easy to follow, and the animations and examples you provided really helped solidify my understanding of the problem.
After watching the video I had to work on it myself and i finally figured the code. Thanx for the video
wow nikhil, you explained so well, far better than many of the paid courses, loved your teaching skills.
Commendable explanation sir!! I just can say one line - Why fear when Nikhil Lohia is here.
🤘
Hi nikhil sir, whenever i was searching for any coding questions if you're video is available for a particular question that time i felt so happy , because your videos are really "worth varma worth"😁😁
you are my new fav instructor after sumeet malik, keep making more videos regularly!
thanks alot.
so happy you feel this way
I am a big fan of your teaching Skills
Hey Nikhil, Thank you Man, You explain things in very easy way, keep it up
Your logic explaination is best , keep making such videos :)
trying my best everyday :)
Thank you sir.Very handy approch and explanation.
You are welcome
Very well explained I don't understand why their is less like to video
i dunno either 😂
Anybody trying to understand `k = (k * 10) + (c - '0');`. Suppose there is a string like 54[a], we will need to create the number 54 from chars 5 and 4. So the equation helps in creating the correct number.
this man is a goat
You were phenomenal. Hats off sirrr!!!
thanks for your kind words
What an amazing explanation sir, thank you so much ❤️
such a clean explanation .............thanku sir❤❤
keep up the good work!!
Your explanation is so clear that I have no need to watch another video on this problem. However Nikhil ,how to solve if the number is more than 9 i..e it may be more than 1 character to ad to the number stack ?
damn
thank you sir your explanation is great 🔥 🔥
thank u so so much for the explanation
Brilliant and Intuitve.
Very good explanation..
Thank you
Your videos are awesome 🔥
nice explanation!
great explanation :)
best explanations
Keep watching
do we need 2 stacks?
Hi! Congrats for your solution! I am struggling to understand this bit of code k = (k * 10) + (c - '0') I print line by line with SYSO but I'm still no able to get it. When printing I get the following :
when k = 1
(k * 10): 10
(c - '0'): 1
this is k: 1
Why k = (k * 10) + (c - '0') ends up with 1? As (k * 10) = 10 and (c - '0')= 1 why k is not 11?
Could you please kindly clarify it?
The value of k = 0, not 1. :)
Also when we push in the stack, once again we change it to 0.
nice!!!!!!!!!
This solution doesn't work if the integer has more than one digit. e.g: 11[ab2[c]de].
It will work..for your test case the output will be
abccdeabccdeabccdeabccdeabccdeabccdeabccdeabccdeabccdeabccdeabccde
it doesn't work for me as well.
you are osm thank you
i wish there was explantion of actual code also..
how to handle multidigit number?
the solution handles a multi-digit number, check the github link in description :)
thanks sir
Why we need to add another stack. Since get got first bracket that means if you say stack.peek() you will get the value. Its just waste of memory
The space complexity still remains the same O(n)
third condition will not right instead of "[" '']"
can you do it using 1 stack!
The solution here is more intutive. I would prefer using 2 stacks.
Abhi awaj bahut slow aaa rahi
the code is very complex and is not easy to understand after watching this video tbh, might have made the soln just like the code
Explanation is too simple
bhai isse accha toh mike mat he laga
Fixed those issues in my latest videos…thanks for the feedback :)
100[leetcode] what will this give ;)0)
bha sound quality bhtttttttttttttttttttttttttt hi gandiiii h ...mic cgange kro phle to aap
Lajawaab
Bro try to speak loudly
check my latest videos, if you still find the issue
Easy to understand. Thank you.
Thank you