Skip to content

98. Validate Binary Search Tree#39

Open
skypenguins wants to merge 1 commit into
mainfrom
leetcode/arai60/problem-98
Open

98. Validate Binary Search Tree#39
skypenguins wants to merge 1 commit into
mainfrom
leetcode/arai60/problem-98

Conversation

@skypenguins

Copy link
Copy Markdown
Owner

98. Validate Binary Search Tree

次回予告: 102. Binary Tree Level Order Traversal

@skypenguins skypenguins self-assigned this Jun 27, 2026
Comment thread memo.md
### 正答
#### スタックDFS版
```py
class Solution:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

見やすくていいと思いました。
ただ個人的には、空行をもう少し減らしたほうが好みです。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

自分はこれくらいの空行が丁度良く感じます。好みの問題だと思います。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そういうものなんですね。ありがとうございます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants