Pregunta de entrevista de Xima

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