Duplicate Question
abhijeet1403 opened this issue · comments
Abhijeet Chakraborty commented
Sort a list of numbers in which each number is at a distance K from its actual position.
is same as
Sort a list where each element is no more than k positions away from its sorted position.