Pergunta de entrevista da empresa Heartdub

4 coding questions in both online assesments.