Nordstrom Interview Question

LeetCode 164: Maximum Gap (Hard)