Skip to content

Commit f48cff2

Browse files
authored
Update anagrams.py
1 parent 26f7666 commit f48cff2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

anagrams.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# coding: utf-8
22

33
class Solution:
44
# @param strs: A list of strings
@@ -18,4 +18,6 @@ def anagrams(self, strs):
1818
if info['count'] > 1:
1919
for word in info['words']:
2020
ret.append(word)
21-
return ret
21+
return ret
22+
23+
# medium: http://lintcode.com/zh-cn/problem/anagrams/

0 commit comments

Comments
 (0)