You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To change the delimiter, the beginning of the string should be a separate line formatted like this: "//[delimiter]\n[numbers]"
Seeing this, and the fact that numbers are not in square brackets in the input string, it is logical to deduce that the square brackets surrounding delimiter are also not part of the actual input and just a kind of notation.
Yet later at points 7 and 8 we read
Delimiters can be any length, using this syntax: "//[|||]\n1|||2|||3" returns 6.
Allow multiple delimiters, using this syntax: "//[|][%]\n1|2%3" returns 6.
Which seem to imply that square brackets should indeed surround the delimiters.
The text was updated successfully, but these errors were encountered:
There should be brackets around the delimiter, as the sample input shows. The numbers should probably not use that syntax since they do not require brackets. Perhaps they should use italics instead? numbers ?
In the instructions, at 4.i
Seeing this, and the fact that numbers are not in square brackets in the input string, it is logical to deduce that the square brackets surrounding delimiter are also not part of the actual input and just a kind of notation.
Yet later at points 7 and 8 we read
Which seem to imply that square brackets should indeed surround the delimiters.
The text was updated successfully, but these errors were encountered: