My leetcode question & solution notes
├── ${tag}
│ └── ${id}-${name}-${difficulty}
│ ├── ${id}_${name}_solution.${language_ext}
│ └── note.md
└── README.md
You can reference this article:Customize the Relative Folder and the File Name of the Problem File to set up VSCode extension.
Key point:
In the VS Code setting.json
, you can refer my setting below:
"leetcode.filePath": {
"default": {
"folder": "./${tag}/${id}-${kebab-case-name}-${difficulty}",
"filename": "${id}_${kebab-case-name}_solution.${ext}"
}
}