J.P. Morgan interview question

Given a string sequence and each of strings is integer . First you need to change strings to integer and then in this sequence you need to find largest difference in those integers.