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