Skip to content

Commit 1d63f30

Browse files
committed
commit
1 parent c56b25a commit 1d63f30

File tree

15 files changed

+245
-185
lines changed

15 files changed

+245
-185
lines changed

.idea/encodings.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 205 additions & 149 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

[0013][Roman To Integer]/[0013][Roman To Integer].iml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,15 @@
99
<orderEntry type="sourceFolder" forTests="false" />
1010
<orderEntry type="library" name="R User Library" level="project" />
1111
<orderEntry type="library" name="R Skeletons" level="application" />
12+
<orderEntry type="module-library">
13+
<library name="JUnit4">
14+
<CLASSES>
15+
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
16+
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
17+
</CLASSES>
18+
<JAVADOC />
19+
<SOURCES />
20+
</library>
21+
</orderEntry>
1222
</component>
1323
</module>

[0015][3 Sum]/[0015][3 Sum].iml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,25 @@
99
<orderEntry type="sourceFolder" forTests="false" />
1010
<orderEntry type="library" name="R User Library" level="project" />
1111
<orderEntry type="library" name="R Skeletons" level="application" />
12+
<orderEntry type="module-library">
13+
<library name="testng">
14+
<CLASSES>
15+
<root url="jar://$MAVEN_REPOSITORY$/org/testng/testng/7.0.0-beta4/testng-7.0.0-beta4.jar!/" />
16+
<root url="jar://$MAVEN_REPOSITORY$/com/beust/jcommander/1.72/jcommander-1.72.jar!/" />
17+
</CLASSES>
18+
<JAVADOC />
19+
<SOURCES />
20+
</library>
21+
</orderEntry>
22+
<orderEntry type="module-library">
23+
<library name="JUnit4">
24+
<CLASSES>
25+
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
26+
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
27+
</CLASSES>
28+
<JAVADOC />
29+
<SOURCES />
30+
</library>
31+
</orderEntry>
1232
</component>
1333
</module>

[0015][3 Sum]/src/Solution.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public List<List<Integer>> threeSum(int[] nums) {
7070
}
7171
}
7272

73+
// nums[a-1]已经被选过了,不用再选了
7374
do {
7475
++a;
7576
}while (a < nums.length - 2 && nums[a - 1] == nums[a]);

[0016][3 Sum Closest]/src/Solution.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ public int threeSumClosest(int[] nums, int target) {
7474
// 以上的设置在下一次元素处理时生效
7575
}
7676

77-
7877
// 和大于target
7978
if (sum > target) {
8079
do {

[0017][Letter Combinations Of A Phon Number/[0017][LetterCombinationsOfAPhonNumber ].iml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)