Skip to content

Imporved the Code Quality of LeetCode Question 309 - #1

Open
rishitc wants to merge 2 commits into
luckykumardev:masterfrom
rishitc:master
Open

Imporved the Code Quality of LeetCode Question 309#1
rishitc wants to merge 2 commits into
luckykumardev:masterfrom
rishitc:master

Conversation

@rishitc

@rishitc rishitc commented Jul 29, 2020

Copy link
Copy Markdown

I have added another solution for the question "Best Time to Buy and Sell Stock with Cooldown" using recursion technique but with more concise function parameters as well as usage of boolean variables. I have added comments wherever necessary to my code.

Please do accept my pull request if it helps increase the quality of the repository. Feedback is always appreciated.

Thanks,
Rishit

rishitc added 2 commits July 29, 2020 22:35
…ock with Cooldown" with cleaner function parameters as well as using boolean variables.
…k with Cooldown" using the Dynamic Programming technique.
@rishitc

rishitc commented Jul 29, 2020

Copy link
Copy Markdown
Author

I have also added another program to solve the same LeetCode problem but using the Dynamic Programming approach.
I have added comments to my program for easier understanding, of the algorithm.

Please do accept my pull request if it helps increase the quality of the repository. As always, feedback is always appreciated.

Thanks,
Rishit

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.

1 participant