Hash bucket negative modulo

Code reviewHard25 min

Your task

Review this Java method that maps an arbitrary hash to a bucket index in [0, n).