4 ms·
>No the answer is not based on finding the o(n) complexity of reversing a binary tree. Of course not, the main purpose of the leetcode is to ace the interview.
by matz1 7y ago
>No the answer is not based on finding the o(n) complexity of reversing a binary tree.
Of course not, the main purpose of the leetcode is to ace the interview.
Doesn't mean they do not know any of those questions you mentioned above.
I, for example, did all you mentioned above and also practicing leetcode.