19
19
<p ><strong class =" example " >Example 1:</strong ></p >
20
20
21
21
<pre >
22
- <strong >Input:</strong > < code > usageLimits</ code > = [1,2,5]
22
+ <strong >Input:</strong > usageLimits = [1,2,5]
23
23
<strong >Output:</strong > 3
24
24
<strong >Explanation:</strong > In this example, we can use 0 at most once, 1 at most twice, and 2 at most five times.
25
25
One way of creating the maximum number of groups while satisfying the conditions is:
@@ -32,7 +32,7 @@ So, the output is 3. </pre>
32
32
<p ><strong class =" example " >Example 2:</strong ></p >
33
33
34
34
<pre >
35
- <strong >Input:</strong > < code > usageLimits</ code > = [2,1,2]
35
+ <strong >Input:</strong > usageLimits = [2,1,2]
36
36
<strong >Output:</strong > 2
37
37
<strong >Explanation:</strong > In this example, we can use 0 at most twice, 1 at most once, and 2 at most twice.
38
38
One way of creating the maximum number of groups while satisfying the conditions is:
@@ -45,7 +45,7 @@ So, the output is 2.
45
45
<p ><strong class =" example " >Example 3:</strong ></p >
46
46
47
47
<pre >
48
- <strong >Input:</strong > < code > usageLimits</ code > = [1,1]
48
+ <strong >Input:</strong > usageLimits = [1,1]
49
49
<strong >Output:</strong > 1
50
50
<strong >Explanation:</strong > In this example, we can use both 0 and 1 at most once.
51
51
One way of creating the maximum number of groups while satisfying the conditions is:
0 commit comments