Comcast interview question

Most recurring element in an array