Capgemini interview question

Explain different hooks and why they are used