I always understood it was to filter out dudes who’d succeed at it: people who have a lot of spare time who would use that spare time to grind really hard for some arbitrary coding test. As an employer, I’d look at that dude and think: this dude could defo do overtime and he likes coding! We’ll take him. But that’s my two cents.