bro !!!for the test case given in the lead game question im getting the correct answer on my machine but its showing wrong answer on submission can u please help wer the above code is going wrong
I recently found that i forgot to answer this question. I am sorry
Try this
[1]. I tried to de-bug your code. I removed all the arrays and just working with 2 variables. Please check whether this will work or not
**Happy Coding**
[1]: http://ideone.com/ifzKeI