My first job as Software Engineer, the recruiter found me because I participated in ICPC contests, I don't know how common it is today but it happened ~10 years ago.
I'm not sure when these leetcode style interviews became pervasive but it makes sense that recruiters would figure out quickly where to find people that would excel at that interview process.