Skip to content

Update 0112-path-sum.java #2510

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

Closed
wants to merge 1 commit into from
Closed

Conversation

Anukriti167
Copy link
Contributor

The new solution added is little more closer to the one explained in the video, the solution present right now has a different logic of reducing the targetSum. But the one explained in the video is to create a new variable curSum and then compare it with targetSum.

Important

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

The new solution added is little more closer to the one explained in the video, the solution present right now has a different logic of reducing the targetSum. But the one explained in the video is to create a new variable curSum and then compare it with targetSum.
Copy link
Collaborator

@sujal-goswami sujal-goswami left a comment

Choose a reason for hiding this comment

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

hey @Anukriti167
Can you delete the previous solution and add yours?

Anukriti167 added a commit to Anukriti167/leetcode that referenced this pull request Aug 13, 2023
@Anukriti167
Copy link
Contributor Author

Hi @sujal-goswami

I have created a new pull request for the same: #2835
Could you please check and let me know if it works.

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