Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
It was the most interesting lc problem of the October streak. Your content is Helpful... Thank you
welcome :)
Good approachMy approach:-Also we maintain a count of the number of 1's before a 0 appear in a string. Whenever a 0 appears we will update the minswap count with number of 1 before that respective 0.
yepp 👍🏼
VERYYY FRUSTRATING QUESTION
😅
It was the most interesting lc problem of the October streak. Your content is Helpful... Thank you
welcome :)
Good approach
My approach:-
Also we maintain a count of the number of 1's before a 0 appear in a string.
Whenever a 0 appears we will update the minswap count with number of 1 before that respective 0.
yepp 👍🏼
VERYYY FRUSTRATING QUESTION
😅