AKUNA CAPITAL interview question

compute the complexity of a given algorithm