Pregunta de entrevista de Panjiva

How would you test a global vending machine? Write code to find the missing element in an array