3 ms·
The creator of homebrew flunked a Google interview because he couldn't invert a binary tree. Everyone at Google that he interviewed said they used homebrew and
by jennyyang 6y ago
The creator of homebrew flunked a Google interview because he couldn't invert a binary tree. Everyone at Google that he interviewed said they used homebrew and loved it, but ultimately it didn't matter. He couldn't invert a binary tree.
So side projects or even real projects that are used by millions are literally meaningless.
Study LeetCode instead to get a job and focus on your job at work.
- deleted 6y ago[deleted]
- gosukiwi 6y agoI don't think Google is a good place to work at really... And when interviewing a web developer, I don't think caring if they can invert a binary tree is a good thing. If you think things like LeetCode makes you a better programmer then you only show how inexperienced you are. You can know a lot about theory and algorithms and still write shitty, unmaintainable code.
- dc443 6y agoIt's like a little puzzle snack type of a thing that I've certainly never been lucky enough to need to solve in 15 years of programming yet. Yes, I think it's really limited in utility. But it can offer some insight into how quick and flexible you are generally speaking. My first impression is you can do a quick DFS recursive function that does a swap (can prolly use xor operator) on the left & right pointers