Pergunta de entrevista da empresa Tripadvisor

Some array searching question. I can't remember it exactly. He had me code on a whiteboard and stated pseudocode was acceptable. The interviewer seemed like he didn't want to be there and I could tell he was unimpressed with my performance. He asked about time complexity for the solutions I provided. He did not ask any background or personality questions and the interview consisted entirely of the coding question.