When you read the instructions, janitormeir says "You can assume the array will always be valid, and there will always be one correct answer." He/she then decides to give a bunch of randomly created arrays as tests. Therefore my code has varying levels of success on different attempts because I'm assuming the instructions are actually correct. As far as I know, randomly generated arrays are random. Thus, either the instructions or the test cases should be changed.
Never answered, closing.
More than just that. The randomly generated cases include colons and and lots of other characters that we were definitely expecting as input.
Please, verify that your code is actually correct. You can post it as a
question
with a spoiler if you're unsure yourself.When you read the instructions, janitormeir says "You can assume the array will always be valid, and there will always be one correct answer." He/she then decides to give a bunch of randomly created arrays as tests. Therefore my code has varying levels of success on different attempts because I'm assuming the instructions are actually correct. As far as I know, randomly generated arrays are random. Thus, either the instructions or the test cases should be changed.