Skip to content

Create 108. Convert Sorted Array to Binary Search Tree.md#13

Merged
Mike0121 merged 1 commit intomainfrom
108.-Convert-Sorted-Array-to-Binary-Search-Tree.md
Nov 1, 2025
Merged

Create 108. Convert Sorted Array to Binary Search Tree.md#13
Mike0121 merged 1 commit intomainfrom
108.-Convert-Sorted-Array-to-Binary-Search-Tree.md

Conversation

@Mike0121
Copy link
Copy Markdown
Owner

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
Owner Author

Choose a reason for hiding this comment

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

odaさん、コメントありがとうございます。
解釈間違っているかもしれませんが、
時間計算量: O(nlogn) ということでしょうか?

@shining-ai
Copy link
Copy Markdown

全コード読みやすかったです。
再帰の時のようにindexで管理する方がコードが追いやすいと感じました。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants