Morgan Stanley interview question

Minimum Absolute Difference on Leetcode