https://github.com/shuzijun/leetcode-question
https://github.com/shuzijun/leetcode-question
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shuzijun/leetcode-question
- Owner: shuzijun
- License: apache-2.0
- Created: 2019-08-16T07:34:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T12:12:51.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T16:57:01.054Z (6 months ago)
- Language: Java
- Size: 130 KB
- Stars: 32
- Watchers: 1
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# leetcode-question
[leetcode-editor](https://github.com/shuzijun/leetcode-editor) custom code demo
## Progress   
## leetcode-editor config
CodeFileName:
```java
$!velocityTool.camelCaseName(${question.titleSlug})
```
CodeTemplate:
```java
${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
```