But something did change when I stopped treating interviews as "convince them to like me" / "convince them to hire me" and started treating them as "find out if I want to work (in order) 1) at this company, 2) on this project, 3) with/for this person." I'm sure part of it is just experience, knowing more of the technical stuff, sure, but when you're approaching it honestly as determining whether you give a shit about the person sitting across from you or the glorified Excel spreadsheet you'll be working on it is a lot easier.
It's a big part of why I hate leetcode interviews and consider them a huge red flag especially for non-Tier 1 companies. If your 90 minute interview is 80 minutes of me reversing trees and writing maze solvers then letting me ask 2 questions while you check your email and Slack on your other monitor I am not learning anything from the process and am extremely uninterested in working for you.