What sort of companies are testing you with leetcode. Faang or other types of companies? I have very rarely encountered these types of questions in my own experience but maybe that's a function of where I live
If I was given a l33t code problem in an interview I would stand up, make some sort of silly comment, and walk out. That's not a company I want to work at.
At least where I live, the LC companies offer more interesting work, lateral movement, better staff amenities, and, of course -- are far more lucrative. I'd probably walk if it's just a run of the mill company trying to cargo cult the hiring process.
Smaller companies have done real time programming assessments but they are not leetcode-esque.