You have a sequence of N integers and you randomly pick two of them. If they are both odd or both even then you remove them, if they are different you add an additional even number. Can you forecast what would be the final number left?
SOLUTION
You need to consider what is the starting N. Is it odd or is it even?
No comments:
Post a Comment