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.测试
原文:https://www.cnblogs.com/shun998/p/14812338.html