Aerotech, Inc. interview question

How to find the nth element in an array?