Beautiful Array

  • + 1 comment

    How can anyone solve this problem in less then 3 or even 5 mins. It takes me more than that just to read and understand the requirments. Then, I think about the approach then I start coding. Can anyone explain me how those top 10 could solve this problem, in less than 5 mins?!!