Pregunta de entrevista de Valens DataLabs

How you can solve the same problem in three different ways?