Skip to content
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

Leetcode: Delete and earn #22

Open
debojyoti-majumder opened this issue May 5, 2019 · 0 comments
Open

Leetcode: Delete and earn #22

debojyoti-majumder opened this issue May 5, 2019 · 0 comments
Assignees
Labels
medium Medium graded problem

Comments

@debojyoti-majumder
Copy link
Owner

Leetcode URL: https://leetcode.com/problems/delete-and-earn/

@debojyoti-majumder debojyoti-majumder added the medium Medium graded problem label May 5, 2019
@debojyoti-majumder debojyoti-majumder added this to the Q1 Solved Problems milestone May 5, 2019
@debojyoti-majumder debojyoti-majumder self-assigned this May 5, 2019
debojyoti-majumder added a commit that referenced this issue May 8, 2019
Tried using DP, but it not use full have to pose it like a search problem
debojyoti-majumder added a commit that referenced this issue May 8, 2019
Use map might reduce the list length, use memorization if then also
debojyoti-majumder added a commit that referenced this issue May 9, 2019
Let's add a DP table and see what happens
debojyoti-majumder added a commit that referenced this issue May 9, 2019
Have look for some iterative solution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium Medium graded problem
Projects
None yet
Development

No branches or pull requests

1 participant