https://slothcoders.blogspot.com/2020/11/arrays-introduction-in-cpp-hackerrank-solution.html