Pergunta de entrevista da empresa Grab

HR call, then live coding interview, question is easy but I forgot it