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

edit distance in php #3889

Merged
merged 2 commits into from
Feb 27, 2019
Merged

edit distance in php #3889

merged 2 commits into from
Feb 27, 2019

Conversation

juan88
Copy link
Contributor

@juan88 juan88 commented Oct 30, 2018

Fixes issue:

Fixes issue #3888

Changes:

Adds the edit distance algorithm in PHP

Copy link
Member

@arnavb arnavb left a comment

Choose a reason for hiding this comment

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

Please make sure to check our PHP style guide for any issues!

return $distanceVectorFinal[$lenStr1];
}

echo editDistance("saturday", "sunday");
Copy link
Member

Choose a reason for hiding this comment

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

At a newline at the EOF.

Copy link
Member

@arnavb arnavb left a comment

Choose a reason for hiding this comment

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

Nice! @AdiChat, this should be ready to merge.

@arnavb
Copy link
Member

arnavb commented Feb 27, 2019

djldk 2

@arnavb arnavb merged commit ed347f8 into OpenGenus:master Feb 27, 2019
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.

None yet

2 participants