Skip to content

Conversation

KHemanthRaju
Copy link
Contributor

No description provided.

Copy link
Collaborator

@mitchellirvin mitchellirvin left a comment

Choose a reason for hiding this comment

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

Thanks for contributing, @KHemanthRaju !

The solution seems to be failing test cases when the input array contains a 0 (I copy pasted your code and ran it in LeetCode):

input: [-1,1,0,-3,3]
output: [0,0,0,0,0]
expected: [0,0,9,0,0]

Do you mind correcting the solution and committing those changes?

@neetcode-gh
Copy link
Owner

Closing since there's already a java solution for 238

@neetcode-gh neetcode-gh closed this Jul 8, 2022
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