Download LeetCode problems as Jupyter Notebook files.
当前为
This userscript enhances the LeetCode problem page by adding three buttons:
.ipynb file.Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text.
This userscript helps you transfer LeetCode problems into a Jupyter Notebook document, so you can read the problem, write and run the solution, add additional notes, all at one place on your local machine.
You can open .ipynb notebooks with clients such as VS Code. By default it supports Python, but kernels for many other languages are available too.
To use this userscript, you'll need a userscript manager like Tampermonkey (available for Chrome, Firefox, and other browsers).
This script is inspired by LeetCode Problem to Markdown.
MIT License