1) The output is an array of bytes, however on my system characters are two bytes each. Is the answer expected in numeric / byte format or as a character array / string? Does encoding matter?
, accept one byte of input, storing its value in the byte at the pointer.
2a) Is the pointer separate from an index into the input string? (i.e. does an index run through the input string serially, while a separate pointer jumps around as commanded by the input string?)
2b) Does the index get incremented before, after, or never when retrieving the one byte of input?
[ jump forward to the command after the corresponding ] if the byte at the pointer is zero.
] jump back to the command after the corresponding [ if the byte at the pointer is nonzero.
3a) The byte at the pointer has a numeric value of zero, or the character represented by the byte at the pointer is '0'?
3b) By corresponding, do you mean the brackets are nested and matched, or do I just go to the nearest opposite bracket?
4) The provided input is on 3 lines separated by <br/> tags. Is the algorithm to be applied to each line individually, or treat all 3 lines as 1 input?
Thanks!