Pergunta de entrevista da empresa Wrike

Write a function to solve a basic problem keeping o(n) in mind.