Example 1
Example 2
Example 3
1 <= operations.length <= 1000operations[i] is "C", "D", "+", or a string representing an integer in the range [-3 * 104, 3 * 104].For operation "+", there will always be at least two previous scores on the record.For operations "C" and "D", there will always be at least one previous score on the record.Example 1
Example 2
Example 3
1 <= operations.length <= 1000operations[i] is "C", "D", "+", or a string representing an integer in the range [-3 * 104, 3 * 104].For operation "+", there will always be at least two previous scores on the record.For operations "C" and "D", there will always be at least one previous score on the record.