Electronic Arts Interview Question

Coding interview question using data structures and/or dynamic programming