I\'m just trying to figure out what\'s the time complexity for the following function, I\'m not sure if it\'s O(logn) or O(nlogn).
O(logn)
O(nlogn)
Thanks in