Pergunta de entrevista da empresa Sam's Club

A technical question On the first round