https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/727/ Problem description says array as return type where function definition as intiger only.