Grokking Microsoft Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Two liner

Pete Stenger

Sep 19, 2024

        c = Counter(text)         min_count = min([c.get('b', 0), c.get('a', 0), c.get('l', 0) // 2, c.get('o', 0) // 2, c.get('n', 0)])         return min_count

0

0

Comments
Comments

On this page

Problem Statement

Solution

Code

Complexity Analysis