American Express interview question

Logical and analytical questiob