Skip to content

modified the return from both main and helper. #886

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 2 commits into from
Mar 8, 2023

Conversation

patilabhay679
Copy link
Contributor

It looks like there is no need to create a copy, we can replace the new elements inplace by mutating the contents of array.

It looks like there is no need to create a copy, we can replace the new elements inplace.
Comment on lines 39 to +40
# Return result
return merged
# return merged # do not return anything, as it is replacing inplace.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove comments instead

@keon keon merged commit fd86fd1 into keon:master Mar 8, 2023
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