C. Jatayu's Balanced Bracket Sequence

Revision en1, by s1mp, 2022-09-07 15:38:28

Hello, Codeforces!

How to solve this problem not using greedy algorithm in editorial? To be honest, I did not understand the solution in the official editorial. Maybe you can provide graph or DSU solution?

Thanks!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English s1mp 2022-09-07 15:38:28 256 Initial revision (published)