BlackBerry interview question

Data structures. Basic coding. Logic