A few jobs ago our mobile dev team was in an EU country with significant protections against firing people. Their interview process involved a take-home problem that would have easily taken 80-100 hours, more with polish. I couldn’t believe anyone would actually do that, but they had a long line of applicants requesting to apply. They said they couldn’t risk hiring anyone who couldn’t demonstrate that they were very good because firing them would be a huge ordeal involving lawyers, months of time, and very expensive payments if it didn’t work out.