and job interviews.
Depends on the type of interview I guess.
If the company asks leet code problems, I guess they are making the same mistake as schools do.