I'm absolutely terrible at interviews, especially whiteboarding, and the best ones either involve taking a tour of my own code, or them showing parts of their codebase and me asking questions around it; or, take homes and I have a chance to explain what I built.
I don't have the memory capacity that others do to just stuff leetcode challenge algorithms that I'll never use in my head.