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"😁😁
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 ?
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.
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!! 😄
Everytime when I am not able to solve any leetcode question, I will search in your channel only. Your solution and explanation is very clear.
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"😁😁
Explanation is superb 😊😊😊
you are my new fav instructor after sumeet malik, keep making more videos regularly!
thanks alot.
so happy you feel this way
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
Hey Nikhil, Thank you Man, You explain things in very easy way, keep it up
Thank you sir.Very handy approch and explanation.
You are welcome
Your logic explaination is best , keep making such videos :)
trying my best everyday :)
I am a big fan of your teaching Skills
Very well explained I don't understand why their is less like to video
i dunno either 😂
such a clean explanation .............thanku sir❤❤
What an amazing explanation sir, thank you so much ❤️
keep up the good work!!
You were phenomenal. Hats off sirrr!!!
thanks for your kind words
thank you sir your explanation is great 🔥 🔥
this man is a goat
do we need 2 stacks?
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 videos are awesome 🔥
thank u so so much for the explanation
Brilliant and Intuitve.
Very good explanation..
i wish there was explantion of actual code also..
great explanation :)
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 explanation!
Thank you
how to handle multidigit number?
the solution handles a multi-digit number, check the github link in description :)
best explanations
Keep watching
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.
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)
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.
nice!!!!!!!!!
you are osm thank you
thanks sir
Explanation is too simple
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
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