Skip to content

Commit

Permalink
2020-03-01
Browse files Browse the repository at this point in the history
  • Loading branch information
JiayangWu committed Mar 2, 2020
1 parent 46ff2f2 commit 022ef83
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class Solution(object):
def isUnique(self, astr):
"""
:type astr: str
:rtype: bool
"""
return len(set(astr)) == len(astr)

0 comments on commit 022ef83

Please sign in to comment.