IDEA的LeetCode插件
1.下载安装
2.登录并配置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}
}
3.测试