feat(content): hidden test cases
This commit is contained in:
@@ -10,6 +10,24 @@ categories:
|
||||
patterns:
|
||||
- dynamic-programming
|
||||
|
||||
function_signature: "def stone_game(piles: list[int]) -> bool:"
|
||||
|
||||
test_cases:
|
||||
visible:
|
||||
- input: { piles: [5, 3, 4, 5] }
|
||||
expected: true
|
||||
- input: { piles: [3, 7, 2, 3] }
|
||||
expected: true
|
||||
hidden:
|
||||
- input: { piles: [1, 2] }
|
||||
expected: true
|
||||
- input: { piles: [1, 100, 1, 100] }
|
||||
expected: true
|
||||
- input: { piles: [7, 8, 8, 10] }
|
||||
expected: true
|
||||
- input: { piles: [3, 2, 10, 4] }
|
||||
expected: true
|
||||
|
||||
description: |
|
||||
Alice and Bob play a game with piles of stones. There are an **even** number of piles arranged in a row, and each pile has a **positive** integer number of stones `piles[i]`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user