Amazon interview question

Write a program to find specific points in an 3D array.