Skip to content

Comments

Complete Two-Pointers-2#1771

Open
PrakarshKamal wants to merge 1 commit intosuper30admin:masterfrom
PrakarshKamal:master
Open

Complete Two-Pointers-2#1771
PrakarshKamal wants to merge 1 commit intosuper30admin:masterfrom
PrakarshKamal:master

Conversation

@PrakarshKamal
Copy link

No description provided.

@super30admin
Copy link
Owner

Your solution for the merge problem is excellent. It correctly implements the optimal algorithm with O(m + n) time and O(1) space. The code is clean and easy to understand. However, note that the problem statement specifically asks for a solution to the "Merging of 2 arrays" problem, and you have included two additional solutions for other problems in the same submission. While those solutions might be correct for their respective problems, it is important to submit only the relevant code for the problem being evaluated. In a real coding interview or platform, you should ensure that your submission contains only the solution for the problem at hand.

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