You are given operations, an array containing the following two types of operations:
Your task is to return an array of booleans, representing the answers to the second type of operation, in the order they appear.
Note that the operations should proceed iteratively, so when operations[i] is executed, only the results of the previous operations 0, 1, ..., i - 1 are available.
Amazon • Pending