Hi All. Hacker rank is very good site to start coding. From here you can start coding from scratch and go to advance. Most of the companies uses Hacker rank as a platform for their interview coding exam.
This is pretty basic and easy question based on array.