Amazon interview question

Coding challenge question cannot be divulged