Mike Simmons wrote:Does the question require a single answer, or does it allow multiple answers? Because both A and D are correct. There's some ambiguity about A, since what really happens is that we get six lines of standard output, and then at least two lines of error output, depending on how the code fragment is called. But saying "A and D" is the most straightforward way to answer, I think.
Tim Bant wrote:What's the "answer" / recommendation in that scenario then if undefined isn't an answer? Thanks
valerio cesolani wrote:
I did get nevertheless the silly question concerning bynary search on an unsorted collection where "undetermined" was not an option and I just picked one by heart!