Showcasing my experience solving popular LeetCode problems, along with templates to how to solving questions on your own that run through Unit Tests to check for completion.
Recommendations for development:
Install VSCode extention TODO Highlight to visualize and query all flags. The flags are:
TODO:A Task that is required to be done within this function, block, or lineBUG:A definition of Bug that is occuring originating from this block/areaTOFIX:Instructions on how to fix a problem that is code breakingISSUE:An Issue that isn't a bug, and also doesn't break the runtime.IDEA:A proposal for an idea to how we can either fix aBUG:,ISSUE:, or to change the codebase.TEST:Requires testing to complete test coverage
To add these keywords, follow these steps to install TODO Highlight:
- Find
TODO Highlightin EXTENTIONS: MARKETPLACE - Install and wait for Install
- After Installation, click the gear icon that appears near where the install button one.
- Choose "Extension Settings"
- Find any option and Choose the "Edit in Settings.json"
- Find the
todohighlight.keywordsobject and add the following code:
"todohighlight.keywords": [
{ "text": "TOFIX:", "backgroundColor": "purple", "color": "White" },
{ "text": "BUG:", "backgroundColor": "teal", "color": "White" },
{ "text": "ISSUE:", "backgroundColor": "red", "color": "White" },
{ "text": "IDEA:", "backgroundColor": "blue", "color": "White" },
{ "text": "TEST:", "backgroundColor": "green", "color": "White" }
]Scripts that are supported by this project use Pino for logging and not are:
npm run lint: tests the server and it's dependancies for syntax and problems using ESLintstart: Starts server with surface levelinfologsdev: Starts server withdebuglogsdebug: Start server and watch for breakpoints