Skip to content

Commit 9ffef12

Browse files
committed
DFS_method. Fix compile time errors, Major refactoring
1 parent d5e0a76 commit 9ffef12

File tree

4 files changed

+165
-218
lines changed

4 files changed

+165
-218
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Java and Intellij specific
1+
#Java and Intellij & Eclipse specific
22
.idea
33
*.iml
4+
.project
45
target
56
#ignore the archived source code
67
*.zip

.project

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

src/main/java/com/google/hashcode/entity/Cell.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ public Cell(int x, int y, Ingredient ingredient) {
2020
public String toString() {
2121
return ingredient.toString();
2222
}
23+
24+
public int getX() {
25+
return x;
26+
}
2327
}

0 commit comments

Comments
 (0)