I've heard an idea that hiring for juniors is more like hiring for quants now: you care less about coding skill and more about general aptitude / intelligence.
Unfortunately that means we may see more of these brain teaser / gauntlet style interviews.