Skip to content

83. Remove Duplicates From Sorted List#10

Open
Yuto729 wants to merge 1 commit intomainfrom
remove-duplicates-from-sorted-list
Open

83. Remove Duplicates From Sorted List#10
Yuto729 wants to merge 1 commit intomainfrom
remove-duplicates-from-sorted-list

Conversation

@Yuto729
Copy link
Owner

@Yuto729 Yuto729 commented Nov 25, 2025

@Yuto729 Yuto729 changed the title Remove Duplicates From Sorted List 83. Remove Duplicates From Sorted List Nov 25, 2025
Repository owner deleted a comment from github-actions bot Nov 25, 2025
Copy link

@TakayaShirai TakayaShirai left a comment

Choose a reason for hiding this comment

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

一点コメントしました。全体的に読みやすかったと思います。

Comment on lines +10 to +13
previous = None
current = head
while current is not None:
if current.val in seen:
Copy link

@TakayaShirai TakayaShirai Nov 26, 2025

Choose a reason for hiding this comment

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

以前同じ問題を解いた時に受けた指摘があり、こちら参考になるかなと思います。
https://github.com/TakayaShirai/leetcode_practice/pull/3/files#r2520130451

Copy link

@t9a-dev t9a-dev left a comment

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