But if people want to complain about the irrelevance of reversing a list or describing two different approaches to balanced trees... they'd probably complain more about being tested on generators and RC frequency response in low pass filters even if you only have to take it once.
LOL! absolutely.
I think the skills tested on tech interviews are important, though; At least fundamentals. I don't encounter many people that consider time and space complexity of a unit of code (big O notation) and that's unfortunate.
Data structs and their method for language built-ins are already optimized so I get that most people just use them but man, I see so many developers not even choose the correct structures. That includes me until I started leetcoding for a new job after 4 years of professionally work.
But of course, this needs to stay in reason. Asking Brainteasers and optimizations like dynamic programming are dick moves. I don't want my team to prematurely optimize and make our code base complex just cause.
my go to is "I have a very broad exposure in my current role but im mostly interested in XYZ and want to specialize in it"
where XYZ is the subject matter for the role you're interviewing for.
I try not to give my real reasons, especially if negative