Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Latest commit f23d878 Aug 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/shuzijun/leetcode custom code demo Aug 16, 2019
.gitignore Initial commit Aug 16, 2019
LICENSE Initial commit Aug 16, 2019
README.md Update README.md Aug 16, 2019
pom.xml custom code demo Aug 16, 2019

README.md

leetcode-question

leetcode-editor custom code demo

leetcode-editor config

CodeFileName:

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

CodeTemplate:

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

TemplateConstant:

  ${question.title}	question title	ex:Two Sum
  ${question.titleSlug}	question title slug 	ex:two-sum
  ${question.frontendQuestionId}	question serial number
  ${question.content}	question content
  ${question.code}	question code
  $!velocityTool.camelCaseName(str)	transform str camel case
You can’t perform that action at this time.