-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Add Abbreviation Dynamic Programming Algorithm #957
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
base: master
Are you sure you want to change the base?
Add Abbreviation Dynamic Programming Algorithm #957
Conversation
AliAlimohammadi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed typo
AliAlimohammadi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed white spaces.
AliAlimohammadi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed Clippy
AliAlimohammadi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed test case
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #957 +/- ##
==========================================
+ Coverage 95.39% 95.44% +0.05%
==========================================
Files 332 333 +1
Lines 21496 21522 +26
==========================================
+ Hits 20506 20542 +36
+ Misses 990 980 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Adds the Abbreviation problem solution to the dynamic programming module.
Problem Statement
Determines if string
acan be transformed into stringbby capitalizingzero or more lowercase letters and deleting all remaining lowercase letters.
Implementation Details
Checklist
cargo test)cargo fmtcargo clippy