Imperva interview question

basic cpp pointer questions a design pattern to implement some hash related question