I've gone the route of avoiding typical interviews altogether by leaning into my network for opportunities.
There are plenty of places where I think I'd like to work, where I'd be very motivated, and where I'd make an impact to the organization, but I'll never bother because their interview style is bad.
> have a chance of understanding whatever you are going to be copy-pasting from Stack Overflow.
And, frankly, I avoid all of this because what you've said here is exactly the sort of place where I don't want to work.