Domanda di colloquio di Walmart

whiteboard python programming solution for given 3 problems.