Amazon Interview Question

Q: location of specific element in array Q: Hash map