Skip to content

127 word ladder#20

Open
MA-yo-TA wants to merge 5 commits into
mainfrom
127-Word-Ladder
Open

127 word ladder#20
MA-yo-TA wants to merge 5 commits into
mainfrom
127-Word-Ladder

Conversation

@MA-yo-TA

Copy link
Copy Markdown
Owner

def find_shortest_transformations_length(
word_to_adjacency_list: dict[str, list[str]],
) -> int:
words_to_see = deque([(begin_word, 1)])

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

word_to_distanceでも良いと思いました。

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.

ありがとうございます。現状だと distance 要素がない命名になっているのでおっしゃる通り名前に入れると良さそうですね。

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