Baseball Game Scoring System
You are keeping score for a baseball game. Given an array of strings operations, each element represents one operation. The record is initially empty.
Operations mean:
- An integer string: record ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
