feat(content): hidden test cases

This commit is contained in:
2025-08-06 23:21:42 +01:00
parent 89b5dd1457
commit 6bed0a6787
134 changed files with 2075 additions and 0 deletions

View File

@@ -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**.