Primitive Type
HashCode
How String hashCode is calculated?
Parity
Giving a binary word, if the number of 1s is odd, return 1, otherwise 0
(11010111) => (1101)^(0111)
50 Compute x^y
Last updated
Was this helpful?
How String hashCode is calculated?
Giving a binary word, if the number of 1s is odd, return 1, otherwise 0
(11010111) => (1101)^(0111)
Last updated
Was this helpful?