You are viewing a single comment's thread. Return to all comments →
Thanks for sharing this code it really helpped.
I felt the constraints were to be includes by ifstatements but after viewing your code I was able get it.
I have a small suggestion, would it improve the code if one were to seperate the (LengthOfArray - ShiftAmount) part into a variable and then reuse it since its kind of a constant value.
Once again kudos.