- 2.4 (IOI 0831): Look at it like balanced parenthesis - 2.1 (IOI 0113): DP