Skip to content

Comments

Completed Array-2#1856

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

Completed Array-2#1856
sarvanibaru wants to merge 1 commit intosuper30admin:masterfrom
sarvanibaru:master

Conversation

@sarvanibaru
Copy link

No description provided.

@super30admin
Copy link
Owner

Your solution for the "Disappeared Numbers" problem is excellent. It is efficient, both in time and space, and correctly solves the problem. The comments are helpful and explain the approach well. However, note that the problem statement was for a C++ solution, but you provided a Java solution. While the algorithm is language-agnostic, it is important to follow the problem requirements. In this case, the problem did not specify a language, but the reference solution was in C++. Since the problem is from LeetCode, which supports multiple languages, this is acceptable. But always ensure you are using the language expected by the context.

Also, you included two additional files that are not related to the problem. When submitting solutions, make sure to only include the relevant code to avoid confusion.

Overall, great job on the solution!

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