【文件属性】:
文件名称:leetcode第321题-LeetCode-java:刷leetcode上面的题,用java语言写的
文件大小:15KB
文件格式:ZIP
更新时间:2021-07-06 23:01:40
系统开源
leetcode第321题
说明
每个代码里面都包含如下几部分:
自动生成测试数据的函数:
random()
测试程序:
main()
核心函数:
和LeetCode上面的模板函数同名
其他:
功能参见注解说明
注意:为了可以在测试程序里调用进行测试,因此所有函数都用的static修饰
题目1
这一部分是之前写的,代码暂时不贴
题目2
Add
Two
Numbers
You
are
given
two
linked
lists
representing
two
non-negative
numbers.
The
digits
are
stored
in
reverse
order
and
each
of
their
nodes
contain
a
single
digit.
Add
the
two
numbers
and
return
it
as
a
linked
list.
Input:
(2
->
4
->
3)
+
(5
->
6
->
4)
Output:
7
->
0
->
8
题目3
Longest
Substring
Without
Repeating
Character
【文件预览】:
LeetCode-java-master
----.gitignore(195B)
----src()
--------nomadlx()
----.classpath(226B)
----README.md(3KB)
----.project(367B)