- 博客(5)
- 资源 (4)
- 收藏
- 关注
原创 Mac中VSCode+eslint+prettier自动格式化
1.先安装eslint和prettier插件2.设置保存自动格式化3.设置eslint的模板4.打开settings.json文件,将如下内容粘贴上{ "files.autoSave": "off", "eslint.validate": [ "javascript", "javascriptreact", ...
2019-10-28 20:11:56 4275
原创 LeetCode Multiply Strings.两个数字字符串相乘
1.题目的原意:Given two non-negative integersnum1andnum2represented as strings, return the product ofnum1andnum2, also represented as a string.note:Youmust not use any built-in BigInteger library...
2019-05-01 16:11:01 480
原创 任意整型数组,给定一个特定值,求数组中两个数的和为此特定值的集合(为数字的索引集合)。
问题:Given an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactlyone solution, and you may not use the...
2019-04-29 15:31:56 695
原创 一个整型数组,求任意三个元素和为0的集合,不能重复。
最近在研究leetcode上的算法,厌倦了天天修修补补的工作,准备换个环境开始新的码农生活。既然要换个环境,那就要有所准备,算法是必须的,所以没事儿刷刷leetcode,学习下别人的编程思维,加快编程的速度,避免常见的BUG。记录的过程也是学习和加深理解的过程,以防以后不时之需方便查阅。废话不多说,直接上题。1.原文的题目是:Given an arraynumsofninteg...
2019-04-29 14:33:42 1012
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人