Question d’entretien chez FamPay

Design stack and queue, there is similar question on leetcode