Answer:
First we understand what is hash function.A hash function is mostly used in Hashmaps. It maps different keys to a set of values.There may occur a case when we have same key but different values.This case is called collision.So we have to use different collision handling techniques that are open addressing and separate chaining.
A perfect hash function maps key-value pair such that there are no collisions.
Answer:
I would like to stay anonymous while criticizing the current government. As there have been many cases when people who wrote against the government's decisions were caught by the police.
So I would prefer to stay anonymous while commenting on various government policies. My friends would know about it because I share my posts only with them.
The government can know about my identity by ordering the social networking site to reveal it.
Answer: squared ← number * number
Explanation: