Rosetta Problems

Partition Array Such That Maximum Difference Is K

https://leetcode.com/problems/partition-array-such-that-maximum-difference-is-k