2 ms·
>Because it's not about binary trees. You could as well ask why a "senior" developer shouldn't know what: - a TLB is - a Trie is - UDP is - consistent hashi
by DeathArrow 5y ago
>Because it's not about binary trees. You could as well ask why a "senior" developer shouldn't know what:
- a TLB is
- a Trie is
- UDP is
- consistent hashing is
- the CAP theorem is about
- NFS is
- BFS is
I would feel embarrassed if I were a mid level developer if I didn't know what you mentioned. Many of those concepts I've learned in University as a CS student.
It would be unthinkable for me to for a a senior developer or engineer to not know basic CS concepts. Not knowing advanced concepts and very new techniques is ok, but the basics and the foundations of CS?
As for why you need to know those, it's pretty simple: you will need those in your day to day job to make software design decisions, systems design decisions, come up fast with decent solutions to various problems you encounter, as you won't have time to ask a question on Stack Overflow for anything non trivial.
>For instance, I don't know by heart the algorithm for inverting a tree; sure, I can give it a try and may come up with a solution...
As an interviewer, that is all what I want from you. Show me you can come with a decent solution in a decent amount of time.
>I'm saying that at a given point in time, any experienced developer can provide a poor algorithm (and so fail the interview) to invert a binary tree.
I wouldn't consider to fail the interview for failing to invert a binary tree, provided you know what a binary tree is and you give it a decent try.
Also there won't be questions only about CS concepts, but also on language, frameworks, tools, libraries, databases, architectural strategies, systems design and so on. So the overall knowledge matters.
But what am I supposed to say to a guy fresh out of college who applied for a C# developer role and did not know what a class is? "Our developers will take time of implementing business requirements and teach you what you didn't learn in school and software development on top?" I am afraid my boss would not agree to us not responding to business needs in a fashionable time.