Divide Array Into Arrays With Max Difference| Why Sorting | Google | Leetcode 2966

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)