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

@@ -27,6 +27,12 @@ test_cases:
expected: [["", ""]]
- input: { strs: ["listen", "silent", "enlist"] }
expected: [["listen", "silent", "enlist"]]
- input: { strs: ["a", "b", "c"] }
expected: [["a"], ["b"], ["c"]]
- input: { strs: ["abc", "def", "ghi"] }
expected: [["abc"], ["def"], ["ghi"]]
- input: { strs: ["aab", "aba", "baa", "ab", "ba"] }
expected: [["aab", "aba", "baa"], ["ab", "ba"]]
description: |
Given an array of strings `strs`, group the **anagrams** together. You can return the answer in **any order**.