Implemented the required sorting in Java .
Description of the problem : Given an array A with n integers return True if it is possible to sort the array in increasing order by swapping the i-th element A[i] with the (i+k)-th element A[i+k] else return False. The operations may be performed any number of times.
Description
Implemented the required sorting in Java . Description of the problem : Given an array A with n integers return True if it is possible to sort the array in increasing order by swapping the i-th element A[i] with the (i+k)-th element A[i+k] else return False. The operations may be performed any number of times.
Reference Issue number #(305)
issue #305 is related to this PR, visit here
Type of change
Choosing one or more options from the following as per the nature of your Pull request. NOTE: Check boxes using [x]
Checklist:
Update index.md
)README.md
, with problem description and my name.