|
|
|
|
|
by seattle_spring
2613 days ago
|
|
> You can bypass the whole charade by knowing 2-3 people within Google that can provide "assurance" you are good enough. This is not a thing. Everyone goes through the same level-adjusted loop. > Another way is to be a significant contributor to some popular open source project. LOL no. Google is literally famous for rejecting major open source contributors for not knowing how to reverse a binary tree. |
|
AFAIK, you could swap the child pointers and do that recursively for the child nodes. You could also do things O(1) by just changing the comparison function, perhaps by wrapping it to negate the comparison.