Maven Systems interview question

Few questions on time complexity?

Interview Answer

Anonymous

Nov 17, 2016

For brute force it is o(n) and for recursion algorithm it would o(nlogn)