Intelij Idea 配置leetcode

Intelij Idea 配置leetcode

一、下载Leetcode Plugin插件

二、登陆Leetcode

Intelij Idea 配置leetcode

三、配置Leetcode代码模版

Intelij Idea 配置leetcode

文件名

$!velocityTool.camelCaseName(${question.titleSlug})

类内容配置

${question.content}
package leetcode.editor.cn;
public class $!velocityTool.camelCaseName(${question.titleSlug}){
    public static void main(String[] args) {
        Solution solution = new $!velocityTool.camelCaseName(${question.titleSlug})().new Solution();
    }
    ${question.code}
}

上一篇:pca


下一篇:结对项目总结