Skip to content

https://leetcode.com/problems/target-sum/ should be part of DP, not Backtracking #14

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
RishiPrakash opened this issue Jun 3, 2020 · 1 comment · Fixed by #15
Closed

Comments

@RishiPrakash
Copy link

https://leetcode.com/problems/target-sum/ is related to DP and DFS more and lesser to Backtracking.
Can we change it's tagging?

@seanprashad
Copy link
Owner

seanprashad commented Jun 3, 2020

Hey @RishiPrakash! After taking a look at the solution to the question once more, I think you're totally right that this question relates to DFS/DP more than Backtracking.

The 'brute force' heavily resembles DFS! I'll switch it to the DFS pattern for now and make note in #10 to add DP as a second pattern - thanks!

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 a pull request may close this issue.

2 participants