
2019 AP Computer Science A FRQ #3A
A string containing text and possibly delimiters has been split into tokens and stored in String[] tokens. Each token is either an open delimiter, a close delimiter, or a substring that is not a delimiter. You will write the method getDelimitersList, which returns an ArrayList containing all the open and close delimiters found in tokens in their original order. Timestamps Intro: 00:00 Pseudocode: 00:28 Writing the code: 01:38 Testing with the first example: 04:06 Testing with the second example: 05:58 Final solution: 07:39