Partition Array Such That Maximum Difference Is K

Answer Panel