Quote:
Originally Posted by Starson17
The first rule of taking a test, even one for fun: read the problem statement very carefully. How about this regular expression for an answer:
I believe it succeeds at matching "any palindrome."
|
And I, as the marker, would have to give you credit. Wouldn't be the first time I was caught out for writing bad questions. The good part is that it is almost always the good students who figure out the ambiguity.