Domanda di colloquio di Bloomberg

Maximum difference between two elements such that larger element appears after the smaller number