migrate 392 questions to pattern format

This commit is contained in:
2025-09-10 18:05:55 +01:00
parent 13bab63618
commit c60ae08f56
402 changed files with 1383 additions and 545 deletions

View File

@@ -7,8 +7,10 @@ categories:
- trees
- stack
patterns:
- tree-traversal
- monotonic-stack
- slug: tree-traversal
is_optimal: false
- slug: monotonic-stack
is_optimal: true
function_signature: "class BSTIterator:\n def __init__(self, root: TreeNode): ...\n def next(self) -> int: ...\n def hasNext(self) -> bool: ..."