Tap here to switch tabs
Problem
Submissions

Problem: Maximum Number of Balloons

Try to solve the Maximum Number of Balloons problem.

Statement

Given a string text, return the maximum number of instances of the word "balloon" that can be formed.

Each character from text can be used at most 11 time.

Constraints:

  • 1≤1 \leq text.length ≤104\leq 10^4

  • text consists of lowercase English letters only.

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Maximum Number of Balloons

Try to solve the Maximum Number of Balloons problem.

Statement

Given a string text, return the maximum number of instances of the word "balloon" that can be formed.

Each character from text can be used at most 11 time.

Constraints:

  • 1≤1 \leq text.length ≤104\leq 10^4

  • text consists of lowercase English letters only.