Aerotech, Inc. Interview Question

How to find the nth element in an array?