Capco Interview Question

Hooks, Class components vs Functional components