Maven Systems interview question

Few questions on time complexity?

Interview Answer

Anonymous

17 Nov 2016

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