LeetCode
Maximum Gap
Click
here
for an explanation.