Skip to content

leidriver201120/leetcode-question

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%