feat(content): hidden test cases

This commit is contained in:
2025-08-06 23:21:42 +01:00
parent 8544efb5bf
commit e0bf8cda01
134 changed files with 2075 additions and 0 deletions

View File

@@ -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: