Moody's interview question

Interview was straight forward