Sopra Steria Interview Question

Write a program for functional and class based components