Skip to content

Implement Trie Prefix Tree#87

Open
Yuto729 wants to merge 1 commit into
mainfrom
implement-trie-prefix-tree
Open

Implement Trie Prefix Tree#87
Yuto729 wants to merge 1 commit into
mainfrom
implement-trie-prefix-tree

Conversation

@Yuto729

@Yuto729 Yuto729 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

解く問題

Implement Trie Prefix Tree

次に解く問題

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

お疲れ様です。

Implement Trie Prefix Treeに取り組みました。
お手隙の際にレビューをお願いいたします。

問題: https://leetcode.com/problems/implement-trie-prefix-tree/
PR: #87
言語: Python3


node.is_end = False
# 子がなければ、このノード自体を親から削除して良い
return len(node.children) == 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

こちらのコメントをご参照ください。
mamo3gr/arai60#6 (comment)

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.

2 participants