Skip to content

add solution and test case for 1721 #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 11, 2021

Conversation

ashmichheda
Copy link
Contributor

@ashmichheda ashmichheda reopened this Jan 11, 2021
Comment on lines 60 to 61
System.out.println("firstIndex: "+firstIndex);
System.out.println("secondIndex: "+secondIndex);
Copy link
Owner

Choose a reason for hiding this comment

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

Remove these debug lines please.

nums[i++] = current.val;
current = current.next;
}
int firstIndex = 0, secondIndex = 0;
Copy link
Owner

Choose a reason for hiding this comment

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

One assignment per line please.

@ashmichheda ashmichheda reopened this Jan 11, 2021
@fishercoder1534 fishercoder1534 merged commit 35cd0c5 into fishercoder1534:master Jan 11, 2021
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