Skip to main content
1 of 3
titogeo
  • 2.2k
  • 2
  • 24
  • 41

YES. A lot.

Look at following pairs

  • cap and pac,
  • map and pam Both can return same hash code as the characters in it are same.

Basically it the sum of characters in a string multiplied by an integer.

titogeo
  • 2.2k
  • 2
  • 24
  • 41