• + 1 comment

    But the question states that it needs only the absolute differences <=1, so why would i even care for the -ve differences converted to +ve.