Open
Conversation
oda
reviewed
Dec 28, 2024
|
|
||
| ### 時間測定 | ||
| 3:31, 1:20, 1:50 | ||
| 今回はいろんなパターンで書いてみたのもあってか、2回目以降はなんとなく覚えてしまっていて、全然頭を使えていない感じがするのが少し不安… |
oda
reviewed
Dec 28, 2024
| - 元のリストがsortされていることが頭から抜け落ちており、また、先の問題も引きずって「valueのsetを作る」という頭から切り替えられなかったこと | ||
| - コードを頭の中でシミュレーションする力が不足していて、少しテストのパターンが変わると対応できなかったこと | ||
| - コードに落とし込む段階でもう少しお絵描きするなど、事前に頭の中を整理しておくといいのかも。 | ||
| - 供養も兼ねて元の発想のまま修正して通してみる |
oda
reviewed
Dec 28, 2024
RemoveDuplicateFromSortedList.md
Outdated
| - 供養も兼ねて元の発想のまま修正して通してみる | ||
|
|
||
| ### Step1のコード | ||
| ‘’’Python |
Owner
Author
There was a problem hiding this comment.
どこかで認識がすり替わっていたようです。ご指摘ありがとうございます。
ご指摘いただいたのでバッククォートに修正
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
問題:https://leetcode.com/problems/remove-duplicates-from-sorted-list/description/