This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"wzhudev","settings":"{\"settings\":\"{\\n // #region editor\\n \\\"editor.guides.indentation\\\": true,\\n \\\"editor.accessibilitySupport\\\": \\\"off\\\",\\n \\\"editor.bracketPairColorization.enabled\\\": false,\\n \\\"breadcrumbs.icons\\\": false,\\n \\\"editor.renderControlCharacters\\\": true,\\n \\\"editor.renderWhitespace\\\": \\\"all\\\",\\n \\\"editor.minimap.enabled\\\": false,\\n \\\"editor.rulers\\\": [120],\\n \\\"editor.guides.bracketPairs\\\": false,\\n \\\"editor.guides.highlightActiveBracketPair\\\": false,\\n \\\"workbench.tree.renderIndentGuides\\\": \\\"always\\\",\\n \\\"editor.fontSize\\\": 15,\\n \\\"editor.fontFamily\\\": \\\"Monaspace Neon, Consolas, monospace\\\",\\n \\\"search.followSymlinks\\\": false,\\n \\\"search.useIgnoreFiles\\\": false,\\n \\\"search.useGlobalIgnoreFiles\\\": false,\\n \\\"files.eol\\\": \\\"\\\\n\\\",\\n \\\"window.titleBarStyle\\\": \\\"custom\\\",\\n \\\"files.associations\\\": {\\n \\\"*.mdx\\\": \\\"markdown\\\",\\n \\ |
Implementations based on reflect-metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param {number[]} nums | |
* @param {number} target | |
* @return {number[]} | |
*/ | |
var twoSum = function(nums, target) { | |
/** | |
* Map number to its position. | |
*/ | |
const map = { |