Skip to content

Sort List#141

Open
tom4649 wants to merge 2 commits into
mainfrom
148.Sort-List
Open

Sort List#141
tom4649 wants to merge 2 commits into
mainfrom
148.Sort-List

Conversation

@tom4649

@tom4649 tom4649 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Comment thread 0148.Sort-List/step1.py
while index1 < n1 or index2 < n2:
if index2 >= n2 or (index1 < n1 and node1.val < node2.val):
head.next = node1
head = head.next

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

こちらのコメントをご参照ください。
https://github.com/yukik8/leetcode/pull/6#discussion_r3287970237

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