Skip to content

Commit c68362d

Browse files
committed
new line
1 parent 18e60cb commit c68362d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pydatastructs/trees/fenwich_tree.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,4 @@ def range_sum(self, start_index, end_index):
8787
return self.prefix_sum(end_index)
8888
else:
8989
return self.prefix_sum(end_index) - self.prefix_sum(start_index - 1)
90-
91-
90+

pydatastructs/trees/tests/test_trie.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,5 @@ def test_longest_word():
108108
trie.bulk_insert(["apple", "banana", "application"])
109109
assert trie.longest_word() == "application"
110110
trie.insert("a")
111-
assert trie.longest_word() == "application"
111+
assert trie.longest_word() == "application"
112+

pydatastructs/trees/trie.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@ def longest_word(self):
118118
if not all_words:
119119
return None
120120
return max(all_words, key=len)
121+
121122

0 commit comments

Comments
 (0)