feat(content): hidden test cases
This commit is contained in:
@@ -10,6 +10,30 @@ patterns:
|
||||
- binary-search
|
||||
- greedy
|
||||
|
||||
function_signature: "def minimum_boxes(n: int) -> int:"
|
||||
|
||||
test_cases:
|
||||
visible:
|
||||
- input: { n: 3 }
|
||||
expected: 3
|
||||
- input: { n: 4 }
|
||||
expected: 3
|
||||
- input: { n: 10 }
|
||||
expected: 6
|
||||
hidden:
|
||||
- input: { n: 1 }
|
||||
expected: 1
|
||||
- input: { n: 2 }
|
||||
expected: 2
|
||||
- input: { n: 5 }
|
||||
expected: 4
|
||||
- input: { n: 6 }
|
||||
expected: 4
|
||||
- input: { n: 7 }
|
||||
expected: 5
|
||||
- input: { n: 20 }
|
||||
expected: 10
|
||||
|
||||
description: |
|
||||
You have a cubic storeroom where the width, length, and height of the room are all equal to `n` units. You are asked to place `n` boxes in this room where each box is a cube of unit side length. There are however some rules to placing the boxes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user