java-algorithms-implementation
java-algorithms-implementation copied to clipboard
Fixed #165. Fixed a bug where multiplication with zero caused an error
The function multiplyUsingLoopWithStringInput
in Multiplication.java can now handle zero inputs. Also added branch coverage for this.
See issue #165 for more details.
By submitting this pull request I confirm I've read and complied with the below requirements.
- [x] I have read the Contribution guidelines and I am confident that my PR reflects them.
- [x] I have followed the coding guidelines for this project.
- [x] My code follows the skeleton code structure.
- [x] This pull request has a descriptive title. For example,
Added {Algorithm/DS name} [{Language}]
, notUpdate README.md
orAdded new code
.