美文网首页
Leetcode 代码本地Vscode测试 Python

Leetcode 代码本地Vscode测试 Python

作者: HappyJoo | 来源:发表于2020-05-26 09:40 被阅读0次
  1. 下载Nodejs
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
  1. 在 VScode 安装 Leetcode 的插件

  2. 安装 Leetcode-cli

sudo npm install -g leetcode-tools/leetcode-cli

  1. 切换到力扣中国(其实我也不知道这一步是不是必要,但由于我在刷剑指offer,只有力扣中国才有)


    选择力扣中国
  2. 登录

    选择第一个登录
    --结语--
    好的我刚发现VScode 上面的 Leetcode 没有剑指offer的题目,溜了溜了。

相关文章

网友评论

      本文标题:Leetcode 代码本地Vscode测试 Python

      本文链接:https://www.haomeiwen.com/subject/nsfmahtx.html