Topic: Array Problem / Level: intermediate

Problem: Find the maximum difference between two elements in an array such that the larger element comes after the smaller element.

Run the code to see the output here...