Minimum Length of String After Operations - Leetcode 3223 - Python

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


0:00 - Read the problem
0:30 - Drawing Explanation
3:05 - Coding Explanation

leetcode 149

#neetcode #leetcode #python
Рекомендации по теме
Комментарии
Автор

I did it ladies and gents. I am at the point where my brain can write out code after understanding the concept of the medium difficulty problem. I was able to write out the code before looking at the code.

obscureautumnfrost
Автор

More comments than likes, ,guys like, this channel really helps

lucasonyiego
Автор

This is very similar to the Daily problem from day before yesterday (#1400) that was a medium too!

anantakesharipanda
Автор

Hi Neetcode, I was wondering what your approach was get to this intuition ? I initially thought of doing postfixes and having something like visit with hashmaps which I then realized would still end up being O(n^2). The pattern / intuition makes sense but I'm not sure how to generalize an approach for future problems.

perish
Автор

Some people did it with hardcore level bit and masks optimizations and I'd like to have explanations on that

zangdaarrmortpartout
Автор

I thought bro went to buy milk....again

prajwals
Автор

What happened today ? We waited the whole day

lucasonyiego
Автор

Bro can you do Leetcode 89? I can't understand it at all

araneuskyuro
visit shbcf.ru