• + 0 comments

    The problem description is incomplete as well as inconsistent and is a poor reflection on hackerrank.com. It is not clear the it should be mod n as opposed to mod 2.