Someone please explain to me problem 1015F Bracket Substring, i couldn't understand the approach used in editorial.
Counting Bracket Sequences
Someone please explain to me problem 1015F Bracket Substring, i couldn't understand the approach used in editorial.