Amazon Interview Question

The first technical requirement was to implement the ATOI function in any language I wanted. The second technical requirement was a small problem with a parking lot. It used a queue to let cars enter or make them wait.