Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit 2c77ab3

Browse files
author
mo.elmedany@gmail.com
committed
update git ignore - remove eclipse files
1 parent aac7a4c commit 2c77ab3

File tree

3 files changed

+1
-24
lines changed

3 files changed

+1
-24
lines changed

Diff for: .classpath

-6
This file was deleted.

Diff for: .project

-17
This file was deleted.

Diff for: src/FindEarliestDigitalTime.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static Set<String> generatePermutations(String s) {
4949
}
5050

5151
private static Set<String> getPermutations(String s, char a) {
52-
Set<String> permutations = new HashSet<String>();
52+
Set<String> permutations = new TreeSet<String>();
5353
for (int i = 0; i <= s.length(); i++) {
5454
String temp = s.substring(0, i) + a + s.substring(i);
5555
permutations.add(temp);

0 commit comments

Comments
 (0)