Skip to content

Conversation

@Bhavyaatrivedi
Copy link

Important

Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

@Bhavyaatrivedi Bhavyaatrivedi mentioned this pull request May 28, 2023
Comment on lines 24 to 32
if (list1 == NULL && list2 == NULL) {
return NULL;
}
if (list1 == NULL) {
return list2;
}
if (list2 == NULL) {
return list1;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I would keep these lines, as they are taking care of extreme cases

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