We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f7666 commit f48cff2Copy full SHA for f48cff2
anagrams.py
@@ -1,4 +1,4 @@
1
-# -*- coding: utf-8 -*-
+# coding: utf-8
2
3
class Solution:
4
# @param strs: A list of strings
@@ -18,4 +18,6 @@ def anagrams(self, strs):
18
if info['count'] > 1:
19
for word in info['words']:
20
ret.append(word)
21
- return ret
+ return ret
22
+
23
+# medium: http://lintcode.com/zh-cn/problem/anagrams/
0 commit comments