Nope, LeetCode needs you to be online. You have to be connected to the internet to see the problems, send in your code, and ...
Try Pyrefly Beta 0.42.0, now production-ready for IDE use with faster static analysis, auto import updates, and early Pydantic and Django support.