Electronic Arts interview question

basic algorithm questions