BlackBerry interview question

algorithm questions