Arrays: Left Rotation

  • + 0 comments

    The modulus operation always returns positive. If, as in Java, it really does remainder, rather than the mathematical modulus, it can return negative. So, depends on which language.