Skip to content

πŸ“– LeetCode solutions in TypeScript with full test and helpful comments

Notifications You must be signed in to change notification settings

lijie2000/leetcode-typescript

Repository files navigation

LeetCode Solutions in TypeScript

  • πŸƒβ€β™€οΈ Enough small time and space complexity (not "minimum" because of no micro optimization)
  • πŸ’― 100% TypeScript
  • βœ… Fully tested
  • πŸ—£ With helpful comments

Debugging on VSCode

Install πŸ“¦ts-node with --no-save and create launch.json like the following:

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Run the current TypeScript file",
      "type": "node",
      "request": "launch",
      "protocol": "inspector",
      "cwd": "${workspaceRoot}",
      "args": ["${relativeFile}"],
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
      "sourceMaps": true
    }
  ]
}

Then run debug "Run the current TypeScript file".

About

πŸ“– LeetCode solutions in TypeScript with full test and helpful comments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%