Leetcode 1855. Maximum Distance Between a Pair of Values | Hello Interview