And how thoroughly is that prohibition enforced? Do you scrape libgen, for instance? Coursework on university websites? Mathoverflow? I'm guessing not.
Personally, I have asked people old "folklore" questions in interviews, and probably will again. They're not on leetcode, but anyone who paid attention in a sufficiently good CS program has seen them before - and honestly, I don't really care to filter those people out, given the overall state of the candidate pool.