When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

Pal's blog

By Pal, history, 3 years ago, In English

link to the problem is here https://cses.fi/problemset/task/2187

  • Vote: I like it
  • +6
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

acraider has explained both the versions (Bracket Sequence I and Bracket Sequence II) on his youtube channel. I am linking to the part of the video from where he started explaining the first version. Link: https://youtu.be/M5PbeUrOsDw?t=2967. I recommend you go through his explanation and insights for both parts.