Tech interview discussions always seem to run the same course and hit the same points, so I'll repeat one of mine: What's wrong with the idea of turning the standard Leetcode algorithms interview into a license that only needs to be completed once, or maybe once every 5-8 years, similar to what physicians must undergo? Much more efficient than having to retake it with every single company during an interview cycle.
https://ncees.org/engineering/pe/software/
But nobody was interested.
https://ncees.org/ncees-discontinuing-pe-software-engineerin...
---
I've interviewed software developers who have on their resume "Oracle Java 8 certified", but aren't able to name three different spots where the static keyword appears in Java or the situations where they'd be used.
There are certainly many possible reasons why someone wouldn't retain that knowledge, but I've encountered far too many candidates claiming mid or senior level experience with "enhanced" resumes and certifications from everywhere that are not able to satisfactory do more than follow instructions (e.g. not able to determine steps needed to complete tasks nor able to solve the larger problems and break them down into tasks).
So, with the resume and certifications not things that I have confidence in, asking those questions to try to figure out if the person is able to approach solving a novel problem is what gets asked. If other companies do the same, then that candidate will likely see similar lines of questions in each place.