-
-
Notifications
You must be signed in to change notification settings - Fork 46.5k
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
add : Best time to buy and sell stock program under GREEDY methods #10114
add : Best time to buy and sell stock program under GREEDY methods #10114
Conversation
for more information, see https://pre-commit.ci
Hey @cclauss , Could you review this pull request and suggest any changes ? |
@cclauss Thank you for updating :) ! |
Buying and selling stocks is trivial when you have all the quotes and then can go back in time and buy and sell. Like shooting fish in a barrel 🐟 |
That is true hehe |
…heAlgorithms#10114) * to add best_time_stock program * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update best_time_to_buy_and_sell_stock.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Describe your change:
This PR is to add the Best time to buy and sell stock program under greedy methods.
Fixes #10113
Checklist: