There are N holes arranged in a row in the top of an old table. We want to fix the table by covering the holes with two boards. For technical reasons, t…
Given a string s of lowercase English characters, the following operation can be performed any number of times: Choose three consecutive characters s[i]…