Skip to content

Commit 9351037

Browse files
committed
Update palindrome-pairs.py
1 parent ceb4422 commit 9351037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/palindrome-pairs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def palindromePairs(self, words):
4040
return res
4141

4242

43-
# Time: O(n * k^2), n is the number of the words, k is the max length of the words.
43+
# Time: O(n * k^2), n is the number of the words,
4444
# k is the max length of the words.
4545
# Space: O(n * k)
4646
# Trie solution.

0 commit comments

Comments
 (0)