feat(content): hidden test cases
This commit is contained in:
@@ -26,6 +26,12 @@ test_cases:
|
||||
expected: 9
|
||||
- input: { nums: [0, 0, 0, 0] }
|
||||
expected: 0
|
||||
- input: { nums: [100, 1, 1, 100] }
|
||||
expected: 200
|
||||
- input: { nums: [2, 1, 1, 2] }
|
||||
expected: 4
|
||||
- input: { nums: [1, 3, 1, 3, 100] }
|
||||
expected: 103
|
||||
|
||||
description: |
|
||||
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security systems connected and **it will automatically contact the police if two adjacent houses were broken into on the same night**.
|
||||
|
||||
Reference in New Issue
Block a user