Company: Amazon_25june
Difficulty: medium
Team Issue Tracker Workflow is a project tracker. Work is filed as issues ; every issue belongs to exactly one team and carries an identifier of the form TEAM_KEY-NUMBER . The number auto-increments independently for each team : each team remembers the last number it handed out, and the next issue that team creates takes the following one. Numbering starts at 1 , so a brand-new team's first issue is TEAM-1 . An issue is either top-level , in which case it sits on its team's board, or a sub-issue of some parent issue, in which case it is listed under that parent instead of on the board. A sub-issue is numbered from the parent's team , not from any team named on the command line. Replay a script of commands against an empty tracker and report what it prints. Commands Every command is one line. The first token is a numeric code. Code Form Meaning 0 0 TEAM Make sure TEAM exists. A team that is created this way has handed out no numbers yet. Prints nothing. 1 1 TEAM Create a top-level issue