CGI Interview Question

Question from State management