Volkswagen Group interview question

A memory optimized stack implementation