Company: Google_8nov
Difficulty: medium
Trim zeros Problem Description You are given a string S of length N consisting of only '0' and '1'. You are given Q queries of two different types: type = 1 and position = D and