Difference between revisions of "HashUtils Assignment"

From CSE231 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
<!--
 
==HashUtils==
 
==HashUtils==
 
{{CodeToImplement|HashUtils|toIndex|hash.exercise}}
 
{{CodeToImplement|HashUtils|toIndex|hash.exercise}}
Line 15: Line 16:
  
 
Using [https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorMod-int-int- Math.floorMod(dividend,divisor)] solves this problem by always returning a remainder with the sign of the divisor.
 
Using [https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorMod-int-int- Math.floorMod(dividend,divisor)] solves this problem by always returning a remainder with the sign of the divisor.
 +
-->

Revision as of 18:23, 2 March 2023