Apple | Phone | API to reverse an array

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2019-12-16Added By Anonymous
Source: Link

Design an API to reverse an array?


What's your input/output? Will you do that in place? or return the result to who use your API?


What are other considerations?

Comments