If I ever really needed another job, I guess I'd have to suck it up and refresh myself on that stuff. That's a shame.
If I ever really needed another job, I guess I'd have to suck it up and refresh myself on that stuff. That's a shame.
I routinely code tree traversals at my work, so my judgement may be clouded here, so I am genuinely curious here to know if most people here think that it is unreasonable to expect someone to code a BST from scratch.
In my opinion, BSTs are one of the easier things in programming, with a complexity that is maybe only a little above a for-loop. Most often, in real world, the more complex stuff happens in the business logic, or API contracts, or that sort of thing outside tree traversals.
I'm merely a junior level developer working on database engines. Most of my day-to-day involves maintenance of decades old code where the 'hard problems' have long been solved. I imagine my codebase ancestors might have needed thorough knowledge of trees at some point :)
I never got the point of it, but I see it as a ritual...