Everpure Interview Question

Design a thread-safe stack