Pergunta de entrevista da empresa Epic

Skill assessment question for programming. Determine if you have a Mingo. You are given a 100x100 square array, each space has a number from 1 - 1000000. Also, You are given a list of numbers randomly that contains the numbers 1 - 1000000. Create a function that determines if you have a Mingo and returns how many numbers you had to go through before you got a mingo. A mingo has occured if a row or column is filled or the diagonals for the corners have been filled. (Similar to a bingo just without 4 corners).