Hacker News new | past | comments | ask | show | jobs | submit login

>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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: