Ramp interview question

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