Arrays In Hackerrank Solution