AyazKhuraishi / leetcode-question

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leetcode-question

leetcode-editor custom code demo

Progress

Progress Easy Medium Hard

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

License:Apache License 2.0


Languages

Language:Java 100.0%