Nope, LeetCode needs you to be online. You have to be connected to the internet to see the problems, send in your code, and ...
The Visual Studio Marketplace and the Open VSX Registry users are targeted once again with infostealing malware.