TikTok Interview Question

Find sequence with largest difference in an array