Pergunta de entrevista da empresa Panjiva

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