Skip to content

Conversation

@SuperHotDogCat
Copy link
Owner

Copy link

@hayashi-ay hayashi-ay left a comment

Choose a reason for hiding this comment

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

add_two_numbersも差分に出てるので関係ないコードは出ないようにして欲しいです

NobukiFukuiさん:
hayashi-ayさん: https://github.com/hayashi-ay/leetcode/pull/15/files

phase1でsetを使うことに少し躊躇いがありました。LinkedListにhashableなのか気になったからです。

Choose a reason for hiding this comment

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

Hashableと思って良いと思います。

https://docs.python.org/3/glossary.html#term-hashable

Objects which are instances of user-defined classes are hashable by default.

Copy link
Owner Author

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants