Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you are a good programmer you should be at least able to make a brute force solution to a leetcode problem. Then it's just a matter of seeing enough problems to learn the tricks that are used to optimize the time complexity.

>homebrew creator / inverting a binary tree

This is just a traversal of a binary tree + swapping two variables. I would expect any good programmer tqso be able to do both of these things.



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

Search: