CGI interview question

OOPS, framework related. Basic Data Structures. How would you approach this problem?