String Construction

  • + 0 comments

    I'm quite suprised how easy this problem is given that it's worth 25 points. Here's my Python solution!

    def stringConstruction(s):
        return len(set(list(s)))