Skip to content

Commit 4ab29f1

Browse files
added new lines at end of files
1 parent 31b4c4a commit 4ab29f1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

python/design_add_and_search_words_data_structure.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ def dfs(j, root):
3434
curr = curr.children[ch]
3535
return curr.word
3636
return dfs(0, self.root)
37-

python/design_browser_history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def back(self, steps: int) -> str:
1515

1616
def forward(self, steps: int) -> str:
1717
self.ptr = min(len(self.history) - 1, self.ptr + steps)
18-
return self.history[self.ptr]
18+
return self.history[self.ptr]

src/DesignBrowserHistory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ public String forward(int steps) {
2323
this.ptr = Math.min(this.history.size() - 1, this.ptr + steps);
2424
return this.history.get(this.ptr);
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)