CDK Global Interview Question

Implement a stack, considering the load factor