4. Describe an algorithm that takes as input a list of n in-
tegers and produces as output the largest difference ob-
tained by subtracting an integer in the list from the one

following it.