Pergunta de entrevista da empresa Beam

There were 2 technical interview questions in which i had to write code infront of another engineer