Skip to content

Commit b76212e

Browse files
refactor 1189
1 parent 730869d commit b76212e

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/main/java/com/fishercoder/solutions/_1189.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 1189. Maximum Number of Balloons
5-
*
6-
* Given a string text, you want to use the characters of text to form as many instances of the word "balloon" as possible.
7-
* You can use each character in text at most once. Return the maximum number of instances that can be formed.
8-
*
9-
* Example 1:
10-
* Input: text = "nlaebolko"
11-
* Output: 1
12-
*
13-
* Example 2:
14-
* Input: text = "loonbalxballpoon"
15-
* Output: 2
16-
*
17-
* Example 3:
18-
* Input: text = "leetcode"
19-
* Output: 0
20-
*
21-
* Constraints:
22-
* 1 <= text.length <= 10^4
23-
* text consists of lower case English letters only.
24-
* */
253
public class _1189 {
264
public static class Solution1 {
275
public int maxNumberOfBalloons(String text) {

0 commit comments

Comments
 (0)