Can I read ASCII Colon and Accordion Length on EtoBox?
ASCII Colon and Accordion Length by Samin Afnan is a document available to read on EtoBox.
What is ASCII Colon and Accordion Length about?
The document describes an accordion as a string made up of an opening bracket, colon, zero or more vertical bars, another colon, and a closing bracket. It states that the input is a string that characters can be removed from but not reordered or added to, to try and form a valid accordion string. The output should be the maximum possible length of the accordion if it can be formed, or -1 if the input string cannot be converted to a valid accordion.
- Author
- Samin Afnan
- Language
- EN