I had a particularly interesting on site interview where part of it involved fixing a bug in a previous version of a well known open source framework. They gave us the relevant tests to run which showed us what was failing on which inputs. We were welcome to use our personal laptops/coding environment to debug and fix the bug. I personally thought it was a good way to demonstrate the ability to actually navigate a larger codebase, understand what tests were doing, and to follow program logic through a large project and ask pertinent questions. Granted this was for new grad interviews, but it did seem a lot more relevant to day to day work than leetcode problem #X.