Nope, LeetCode needs you to be online. You have to be connected to the internet to see the problems, send in your code, and ...
While software can sync files and folders for you, it's often limited in scope. Learn how a PowerShell script can help you build a custom solution.