@@ -0,0 +1,422 @@
+class Solution(object):%0A    def canConstruct(self, ransomNote, magazine):%0A        %22%22%22%0A        :type ransomNote: str%0A        :type magazine: str%0A        :rtype: bool%0A        %22%22%22%0A        cnts = %5B0%5D * 26%0A        for l in magazine:%0A            cnts%5Bord(l) - 97%5D += 1%0A        for l in ransomNote:%0A            i = ord(l) - 97%0A            if not cnts%5Bi%5D:%0A                return False%0A            cnts%5Bi%5D -= 1%0A        return True%0A

Create RansomNote.py