Print all Possible Decodings of a given Digit Sequence🔥| Recursion | Google Interview question

preview_player
Показать описание

Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :)

#Recursion
#Decodings
Print all Possible Decodings of a given Digit Sequence
#interview preparation
LIKE | SHARE | SUBSCRIBE
Рекомендации по теме
Комментарии
Автор

Nice Explaination
Keep making such videos

haardpatel
Автор

thanks di, i was stuck with last 10% part and everybody on web was writing complex code. just found yours simple like mine.

rajatraj
Автор

Excellent video Ayushi
full on clarity hoe gayi

nawanshsingla
Автор

There is one case you forgot if in string 0 is there 721023
So in case we are adding 1 by 1 so for 0 there is no mapping for 0 we have to return :
and in moving by two step 10, 20 can be formed so it will handle😊

harshitpatil
Автор

Thanks, Ayushi, will you please explain the Time Complexity and Space as well?
and also is it an optimal solution?

sabaamanollahi
Автор

Hey. Nice explanation. But this fails for certain test cases. For eg: For 9480 it gives an output of idh` . Which isn't correct.

prakharsankrityayan
Автор

explanation of code will be more clear

neerajupadhyay