Tonic.ai interview question

How to override a hashcode function.