Netflix interview question

Hashcode purpose