Mam thank you so much your dp lectures are better than many paid courses. U r explanation is so simple and easy to understand 😊😊
@vishnuvardhanreddy4841 Жыл бұрын
Please don't stop making lectures😊
@VinodMuda2 жыл бұрын
Nice explanation! Thank you. Modified your code(Java) for constant space: class Solution { public int numDecodings(String s) { if(s.isEmpty() || s.charAt(0) == '0') return 0; int twoStepsBack = 1; int oneStepsBack = 1; for(int i = 2; i = '0' && currentChar
@SHANMUKHASHARMA-s6h Жыл бұрын
Very Well Explained Thank you very much
@keerthana1216 Жыл бұрын
Clear explanation,thank you. Also your videos are very crisp and clear ,please make more vidoes,finding quite helpful.
@AbdulRehman-ui3nj11 ай бұрын
I paused the video at 18:39 to subscribe your channel, thanks for the easy explanation
@nivedithabaskaran16692 жыл бұрын
This was such a clear explanation video. Thank you!
@Rajuraju-y9o3r Жыл бұрын
Good explanation with different cases
@TheElevatedGuy2 жыл бұрын
Clear & Nice explanation! Thank you very much ma'am!
@dhruvgoel258 күн бұрын
Nice explanation 👍
@shashankpal88883 жыл бұрын
Hey, Can you make a video, how your coding journey start? Where to start? Which platform to do first?
@himanshupandey93033 жыл бұрын
There was a movavi editor plus banner which flashed in intervals in the video.
@biswajitsaha6773 Жыл бұрын
Great explanation ma'am, but I think there is a small mistake in it, we can decode "110" in 1 way only (1,10), not 2 ways [21:30] 1,1,0 is not a valid decoding
@pankajchadda17802 жыл бұрын
Awesome explanation 😁 Thank you..
@sakshamgupta304 Жыл бұрын
Hi @code with Alisha, it was such a nice explanation, you efforts were visible in video. However there was a cut in video when you just started tabulation part and then suddenly you lowered your voice, was that because you were recording at night ?. haha 😁, if that was so, that was such a cute moment 🤣.
@smile85102 жыл бұрын
awesome explanantion just solved it after getting the intuition
@095udaykiran6 Жыл бұрын
Nice Explaination ,Thank You mam 🙏
@heenamittal86212 жыл бұрын
Excellent Explaination !! Thanks !:)
@Asmithaayyanath4 ай бұрын
very useful... thank you
@vikaspeddinti522 жыл бұрын
great explanation thanks 😊
@bikkichoudhary8565 Жыл бұрын
Bahut mast samjhate ho aap didi😃
@pranjalshinde15862 жыл бұрын
getting memory limit exceeded while using recursion + memoization
@josephcs1235 Жыл бұрын
Great video
@beinghappy9223 Жыл бұрын
Amazing explanation didi
@lalitagarwal91552 жыл бұрын
Ma'am please tell that can I solve this question using BFS or not? I write a code myself using queue for BFS but that's running only for few cases so please tell..
@aakashgoswami23562 жыл бұрын
why you have taken previous two state i.e dp[i] += dp[i-2] . why dp[i-2] ? And why you have take dp[0] = 1;
@raj_kundalia Жыл бұрын
You mentioned that you'd tell about why dp[0] = 1. Could you explain that, please?
@tanusharma080111 ай бұрын
In simpler terms, when you have an empty string (length 0), there is exactly one way to decode it, and that is by doing nothing. So, dp[0] is set to 1 to represent this one way.
@shivanshgupta15092 жыл бұрын
ThankYou mam!!!
@vishalagarwal9392 Жыл бұрын
except striver , no youtuber can write recursive solution by themselves
@imsubratabiswas5 ай бұрын
why are you thinkinng like this man ??? 😂😂
@barathnatarajan85662 жыл бұрын
Thank you
@jayasatwik1046 Жыл бұрын
class Solution { public: int numDecodings(string s) { int i,n=s.length(); if(s.length()==0||s[0]=='0') return 0; vectordp(n+1,0); dp[0]=1; dp[1]=1; for(i=2;i='1'&&s[i-1]='0'&&s[i-1]