java算法
Kevin.Ro
程序届的屌丝,屌丝中的战斗机
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
一个整型数组,求任意三个元素和为0的集合,不能重复。
最近在研究leetcode上的算法,厌倦了天天修修补补的工作,准备换个环境开始新的码农生活。既然要换个环境,那就要有所准备,算法是必须的,所以没事儿刷刷leetcode,学习下别人的编程思维,加快编程的速度,避免常见的BUG。记录的过程也是学习和加深理解的过程,以防以后不时之需方便查阅。废话不多说,直接上题。1.原文的题目是:Given an arraynumsofninteg...原创 2019-04-29 14:33:42 · 1178 阅读 · 0 评论 -
任意整型数组,给定一个特定值,求数组中两个数的和为此特定值的集合(为数字的索引集合)。
问题: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 · 777 阅读 · 0 评论 -
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 · 578 阅读 · 0 评论
分享