I personally fight against this trend by almost entirely indexing on problem solving approach when I give leetcode interviews at my BigTech. For me at least it's possible to get a strong hire recommendation even if you only get a brute force solution. I only care that I think you could get to a solution eventually, and are professional in the way you get there.