Maximum Distance Between a Pair of Values

mediumSolve on LeetCodeLast edited: August 2, 2025