Question d’entretien chez Walmart

whiteboard python programming solution for given 3 problems.