AKUNA CAPITAL Interview Question

compute the complexity of a given algorithm