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

Fix algorithm and tests for Strings/MinCostStringConversion #29

Merged
merged 7 commits into from
Nov 23, 2024

Conversation

mahdihasnat
Copy link
Contributor

Fixes #27

The existing algorithm was completely incorrect. I fixed the algorithm with some what proper modeling. However, there is still some unsafe code due to the declarative nature of the algorithm.

@mahdihasnat mahdihasnat changed the title Fix algorithms and tests for Strings/MinCostStringConversion Fix algorithm and tests for Strings/MinCostStringConversion Nov 22, 2024
@mahdihasnat mahdihasnat marked this pull request as ready for review November 22, 2024 15:34
@mahdihasnat
Copy link
Contributor Author

@mertcandav please have a review on this pr.

Copy link
Member

@mertcandav mertcandav left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for your contribution.

@mertcandav mertcandav merged commit d0c57ac into TheAlgorithms:main Nov 23, 2024
2 checks passed
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.

MinCostStringConversionTests is currently breaking the automated tests
2 participants