Easy to understand code
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\nO(N)\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\nO(N)\n\n# Code\n```\nclass Solution:\n    def minimumDeletions(self, word: str, k: int) -> int:\n        word=list(word)\n        count = Counter(word)\n        ans=1000000\n        for x in count.values():\n            op=0\n            for y in count.values():\n                if y < x:\n                    op+=y\n                if y-x>k:\n                    op+=y-x-k\n            ans=min(op,ans)\n        return ans\n\n\n\n        \n```
['Python3']