Interview questions aiming to pass only rocks star programmers or leetcode grinders.
Where I take offence to it is in how it's used in shitty consultancies, startups and agencies. If you're asking me to build a linked list in an interview where all I'll be doing is maintaining some shitty CRUD app in procedural PHP then it's a sure-fire sign that the company is a terrible place to work, and the people in charge have no business being there.