Pergunta de entrevista da empresa Atlassian

Algorithm to find the second greatest number of the array? What is the time complexity?