Pergunta de entrevista da empresa Ramp

The interviewer asked me what the time complexity was for a function I implemented