Solving Maximum Number of Balloons in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.

Problem Description

Example 1:

Input: text = "nlaebolko"
Output: 1

Example 2:

Input: text = "loonbalxballpoon"
Output: 2

Example 3:

Input: text = "leetcode"
Output: 0

Constraints:

  • 1 <= text.length <= 10^4

  • 1 <= text.length <= 10^4

See the full details of the problem Maximum Number of Balloons at LeetCode

Originally posted at: @github.com/halfrost/LeetCode-Go