feat(content): hidden test cases
This commit is contained in:
@@ -9,6 +9,28 @@ categories:
|
||||
patterns:
|
||||
- dynamic-programming
|
||||
|
||||
function_signature: "def stone_game_iii(stone_value: list[int]) -> str:"
|
||||
|
||||
test_cases:
|
||||
visible:
|
||||
- input: { stone_value: [1, 2, 3, 7] }
|
||||
expected: "Bob"
|
||||
- input: { stone_value: [1, 2, 3, -9] }
|
||||
expected: "Alice"
|
||||
- input: { stone_value: [1, 2, 3, 6] }
|
||||
expected: "Tie"
|
||||
hidden:
|
||||
- input: { stone_value: [1] }
|
||||
expected: "Alice"
|
||||
- input: { stone_value: [-1, -2, -3] }
|
||||
expected: "Tie"
|
||||
- input: { stone_value: [1, 2, 3, -1, -2, -3, 7] }
|
||||
expected: "Alice"
|
||||
- input: { stone_value: [-1] }
|
||||
expected: "Bob"
|
||||
- input: { stone_value: [5, -2, -3, 4] }
|
||||
expected: "Alice"
|
||||
|
||||
description: |
|
||||
Alice and Bob continue their games with piles of stones. There are several stones **arranged in a row**, and each stone has an associated value which is an integer given in the array `stoneValue`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user