TikTok interview question

Find sequence with largest difference in an array