Decode String | LeetCode 394 | C++, Java, Python

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

**** Best Books For Data Structures & Algorithms for Interviews:**********
*****************************************************************************

Decode String | Leetcode 394
Facebook Coding Interview question,
google coding interview question,
leetcode,
Decode String,
Decode String C++,
Decode String Java,
Decode String python,
Decode String solution,
394. Decode String,

#CodingInterview #LeetCode #Google #Amazon
Рекомендации по теме
Комментарии
Автор

The code in the Leetcode discussion looks a little tough, but its so easy. Thanks for the intuition that's too much important

saunaknandi
Автор

Can you explain the time complexity? Every time we concatenate some part of the string k times to our result and ultimately next time when we encounter any number we have to concatenate the whole string again k number of times. So I think time complexity will be O(length of output string) . It will be far bigger than O(N).

prabhkiratsingh
Автор

Thank you so much for nice explanation, it's easy to understand. I really like almost all of your videos. Please post some videos on system design also 🙏

govindarajl
Автор

Can someone compare iterative solution vs recursive solution, in terms of time complexity and suggest which one is better approach?

vaidehidharkar
Автор

Hi Abhishek, what do you think about this problem, this seems like a hard problem to me?

samiles
Автор

You are amazing .
thanks for your hard work.

sn
Автор

i think i need white board and marker to understand recursion

asadali
Автор

why we are passing string by refrence?

chandanjain
Автор

where is the python code 😭 y u lying like that bro 😭

bananasmileclub
Автор

poor audio quality u should either buy new mic or edit the audio, beside that thanks for the explanation!!!

زانغت_ساما
Автор

can you please post Python solution as well?

architasundaray