Panjiva Interview Question

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