Skip to content

Commit 022ef83

Browse files
committed
2020-03-01
1 parent 46ff2f2 commit 022ef83

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class Solution(object):
2+
def isUnique(self, astr):
3+
"""
4+
:type astr: str
5+
:rtype: bool
6+
"""
7+
return len(set(astr)) == len(astr)

0 commit comments

Comments
 (0)