Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦境迷离
Cs Summary Reflection
提交
f0452052
C
Cs Summary Reflection
项目概览
梦境迷离
/
Cs Summary Reflection
9 个月 前同步成功
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
Cs Summary Reflection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f0452052
编写于
7月 30, 2020
作者:
梦境迷离
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add contributions and format
上级
b2aa716a
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
29 addition
and
26 deletion
+29
-26
.all-contributorsrc
.all-contributorsrc
+9
-0
README-en.md
README-en.md
+1
-0
README.md
README.md
+1
-0
java-leetcode/README.md
java-leetcode/README.md
+4
-4
java-leetcode/src/main/java/io/github/wkk/TwoSum.java
java-leetcode/src/main/java/io/github/wkk/TwoSum.java
+3
-8
java-leetcode/src/main/java/io/github/wkk/everyday/junly/IntegerBreak_343.java
...n/java/io/github/wkk/everyday/junly/IntegerBreak_343.java
+11
-14
未找到文件。
.all-contributorsrc
浏览文件 @
f0452052
...
@@ -62,6 +62,15 @@
...
@@ -62,6 +62,15 @@
"contributions": [
"contributions": [
"code"
"code"
]
]
},
{
"login": "KongWiki",
"name": "weikunkun",
"avatar_url": "https://avatars0.githubusercontent.com/u/19886738?v=4",
"profile": "https://kongwiki.me/",
"contributions": [
"code"
]
}
}
],
],
"projectName": "cs-summary-reflection",
"projectName": "cs-summary-reflection",
...
...
README-en.md
浏览文件 @
f0452052
...
@@ -65,6 +65,7 @@ For details, please see [CONTRIBUTING](./CONTRIBUTING-en.md)
...
@@ -65,6 +65,7 @@ For details, please see [CONTRIBUTING](./CONTRIBUTING-en.md)
<td
align=
"center"
><a
href=
"https://github.com/LaoZhangCoder"
><img
src=
"https://avatars3.githubusercontent.com/u/28627858?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
laozhang
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=LaoZhangCoder"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/LaoZhangCoder"
><img
src=
"https://avatars3.githubusercontent.com/u/28627858?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
laozhang
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=LaoZhangCoder"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/CCCCmaster"
><img
src=
"https://avatars3.githubusercontent.com/u/25200717?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
CCCCmaster
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=CCCCmaster"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/CCCCmaster"
><img
src=
"https://avatars3.githubusercontent.com/u/25200717?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
CCCCmaster
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=CCCCmaster"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/poorguy"
><img
src=
"https://avatars1.githubusercontent.com/u/624653?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
poorguy
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=poorguy"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/poorguy"
><img
src=
"https://avatars1.githubusercontent.com/u/624653?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
poorguy
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=poorguy"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://kongwiki.me/"
><img
src=
"https://avatars0.githubusercontent.com/u/19886738?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
weikunkun
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=KongWiki"
title=
"Code"
>
💻
</a></td>
</tr>
</tr>
</table>
</table>
...
...
README.md
浏览文件 @
f0452052
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
<td
align=
"center"
><a
href=
"https://github.com/LaoZhangCoder"
><img
src=
"https://avatars3.githubusercontent.com/u/28627858?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
laozhang
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=LaoZhangCoder"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/LaoZhangCoder"
><img
src=
"https://avatars3.githubusercontent.com/u/28627858?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
laozhang
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=LaoZhangCoder"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/CCCCmaster"
><img
src=
"https://avatars3.githubusercontent.com/u/25200717?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
CCCCmaster
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=CCCCmaster"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/CCCCmaster"
><img
src=
"https://avatars3.githubusercontent.com/u/25200717?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
CCCCmaster
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=CCCCmaster"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/poorguy"
><img
src=
"https://avatars1.githubusercontent.com/u/624653?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
poorguy
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=poorguy"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://github.com/poorguy"
><img
src=
"https://avatars1.githubusercontent.com/u/624653?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
poorguy
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=poorguy"
title=
"Code"
>
💻
</a></td>
<td
align=
"center"
><a
href=
"https://kongwiki.me/"
><img
src=
"https://avatars0.githubusercontent.com/u/19886738?v=4?s=100"
width=
"100px;"
alt=
""
/><br
/><sub><b>
weikunkun
</b></sub></a><br
/><a
href=
"https://github.com/jxnu-liguobin/cs-summary-reflection/commits?author=KongWiki"
title=
"Code"
>
💻
</a></td>
</tr>
</tr>
</table>
</table>
...
...
java-leetcode/README.md
浏览文件 @
f0452052
# 算法-Java
# 算法-Java
1.
格式参考
**输出二叉树中所有从根到叶子的路径**
1.
提交前务必执行
**gradle -s spotlessApply**
格式化代码(只处理JVM语言,Java格式使用googleJavaFormat)
2.
提交前务必执行
**gradle -s spotlessApply**
格式化代码(只处理JVM语言,Java格式使用googleJavaFormat)
2.
Java 8 以上,14以下
3.
Java 8 以上,14以下
4.
下面列举的不完整,只是最新的
## author
## author
...
@@ -13,3 +11,5 @@
...
@@ -13,3 +11,5 @@
[
poorguy
](
./src/main/java/io/github/poorguy/poorguy.md
)
[
poorguy
](
./src/main/java/io/github/poorguy/poorguy.md
)
[
wkk
](
./src/main/java/io/github/wkk/wkk.md
)
java-leetcode/src/main/java/io/github/wkk/TwoSum.java
浏览文件 @
f0452052
/* All Contributors (C) 2020 */
package
io.github.wkk
;
package
io.github.wkk
;
/**
/** @Time: 2020/7/30上午9:18 @Author: kongwiki @Email: kongwiki@163.com */
* @Time: 2020/7/30上午9:18
public
class
TwoSum
{}
* @Author: kongwiki
* @Email: kongwiki@163.com
*/
public
class
TwoSum
{
}
java-leetcode/src/main/java/io/github/wkk/everyday/junly/IntegerBreak_343.java
浏览文件 @
f0452052
/* All Contributors (C) 2020 */
package
io.github.wkk.everyday.junly
;
package
io.github.wkk.everyday.junly
;
/**
/** @Time: 2020/7/30上午8:52 @Author: kongwiki @Email: kongwiki@163.com */
* @Time: 2020/7/30上午8:52
* @Author: kongwiki
* @Email: kongwiki@163.com
*/
public
class
IntegerBreak_343
{
public
class
IntegerBreak_343
{
public
int
integerBreak
(
int
n
)
{
public
int
integerBreak
(
int
n
)
{
int
division
=
3
;
int
division
=
3
;
if
(
n
<=
division
)
{
if
(
n
<=
division
)
{
if
(
n
<=
2
)
{
if
(
n
<=
2
)
{
return
1
;
return
1
;
}
else
{
}
else
{
return
2
;
return
2
;
}
}
}
}
if
(
n
%
division
==
0
)
{
if
(
n
%
division
==
0
)
{
return
(
int
)
Math
.
pow
(
division
,
n
/
division
);
return
(
int
)
Math
.
pow
(
division
,
n
/
division
);
}
else
if
(
n
%
division
==
1
)
{
}
else
if
(
n
%
division
==
1
)
{
return
(
int
)
Math
.
pow
(
division
,
n
/
division
-
1
)
*
4
;
return
(
int
)
Math
.
pow
(
division
,
n
/
division
-
1
)
*
4
;
}
else
{
}
else
{
return
(
int
)
Math
.
pow
(
division
,
n
/
division
)
*
2
;
return
(
int
)
Math
.
pow
(
division
,
n
/
division
)
*
2
;
}
}
}
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录