Media.net interview question

Problem solving questions based on arrays and other data structures.