Pergunta de entrevista da empresa Xima

How would you implement a program to track open/occupied spaces in a parking structure?