example Given A=[1,3,6,4,1,2] the function should return 5.
12/7/2017 3:21:26 PM
Sorry, I don't know java and I haven't learnt class.
This is what I could do in c++:
Not sure if this is what you want though.
Learn Playing. Play Learning
Send us a message