Skip to content

Wine Problem using DP #2430#2443

Merged
siriak merged 2 commits into
TheAlgorithms:masterfrom
nikitakapoor1919:wineProblemDp
Oct 9, 2021
Merged

Wine Problem using DP #2430#2443
siriak merged 2 commits into
TheAlgorithms:masterfrom
nikitakapoor1919:wineProblemDp

Conversation

@nikitakapoor1919

@nikitakapoor1919 nikitakapoor1919 commented Oct 3, 2021

Copy link
Copy Markdown
Contributor

Describe your change:

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

References

Wine Problem using DP #2430

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Java files are placed inside an existing directory.
  • All filenames are in all uppercase characters with no spaces or dashes.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@siriak siriak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you add a reference to a Wikipedia article for this problem? It looks like a problem from programming olympiad and we don't usually add those

@nikitakapoor1919

Copy link
Copy Markdown
Contributor Author

Hii @siriak
This is question link https://www.geeksforgeeks.org/maximum-profit-sale-wines/
I have changed question little bit I have calculated maximum profit only and given my own implementation for this problem.

@siriak siriak merged commit f1ec159 into TheAlgorithms:master Oct 9, 2021
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