I think there's a simple solution to the problem of algorithm testing and Leetcode problems in hiring: every company should run their hiring technical test on their current staff, at random, on a regular basis. If the current staff can pass then the test is a valid one. If they can't then it isn't, and they should update it to be a more realistic task that the current staff can do.