I agree that ̶s̶o̶m̶e̶ most of these algorithm and data structure questions don't effectively evaluate a candidates problem solving ability. They just weed out people for interviewers not willing or able to invest time in getting to know candidates. It skews towards recent grads. And it puts seasoned developers who have not thought about a breadth first search of a binary tree since they graduated 20 years ago at a disadvantage. In general, it seems these days that anyone interviewing for a dev position needs to spend a few weeks on Leetcode and Hackerrank getting up to speed with those problems that likely won't apply to anything they do once they land a new job.