概述
Leetcode的題目還沒(méi)刷多少漓柑,寫(xiě)了個(gè)Solution的下載器,自己刷的題方便下載下來(lái)同步到Github上
詳情見(jiàn)我的Repo: https://github.com/bonfy/leetcode
主要的代碼在 leetcode_generate.py
如何使用
安裝依賴(lài):
pip install requests
pip install pyquery
修改Config:
Edit your own username, password, language and repo in the config.cfg file
[leetcode]
username = username
password = password
language = python
repo = https://github.com/bonfy/leetcode
運(yùn)行
python3 leetcode_generate.py
無(wú)圖無(wú)真相
各位看官,如果覺(jué)得還“闊以”的話(huà)鹿霸,還請(qǐng)點(diǎn)個(gè)Star唄~~