Pergunta de entrevista da empresa Tonal

Based on user workout data, calculate their longest weekly streak