Verifone interview question

General data structures and algorithms