CGI Interview Question

Asked to code something and discuss it.