Tokopedia interview question

About coding efficiencies, Time complexity algorithm