Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Interesting problem, thank you for your video. There can be another follow up like put open and close brackets "()" to input to show None for the left node.
Brilliant
What about the inner loop, it can go for n elements of the string ?
why don't you just track the level? Increment level on "(", decrement level on ")", add number to result on numbers regarding to the level.
discord invite is invalid
Interesting problem, thank you for your video. There can be another follow up like put open and close brackets "()" to input to show None for the left node.
Brilliant
What about the inner loop, it can go for n elements of the string ?
why don't you just track the level? Increment level on "(", decrement level on ")", add number to result on numbers regarding to the level.
discord invite is invalid