java-algorithms-implementation icon indicating copy to clipboard operation
java-algorithms-implementation copied to clipboard

Algorithms and Data Structures implemented in Java

Results 141 java-algorithms-implementation issues
Sort by recently updated
recently updated
newest added

This pull request adds checks in reverseWithStringConcat and reverseWithStringBuilder methods to handle null and empty string inputs gracefully. These modifications ensure that the methods return an empty string ("") if...

#### By submitting this pull request I confirm I've read and complied with the below requirements. - [ ] I have read the [Contribution guidelines](CONTRIBUTING.md) and I am confident that...

Edited code so that reverseWithStringConcat and reverseWithStringBuilder can handle null or empty string inputs gracefully, returning an empty string in such cases. #### By submitting this pull request I confirm...

Added null and empty string handling to methods, reverseWithStringConcat and reverseWithStringBuilder to return an empty string in the case of a null or empty input. This will prevent errors and...

I modified StringFunctions.java and the functions reverseWithStringConcat and reverseWithStringBuilder to handle null or empty string inputs, by checking if the input string is null or empty at the start of...

Updating the methods reverseWithStringConcat() and reverseWithStringBuilder() to handle null or empty string inputs #### By submitting this pull request I confirm I've read and complied with the below requirements. -...

Modified the methods "reverseWithStringConcat" and "reverseWithStringBuilder" to handle null or empty string inputs gracefully, returning an empty string in such cases #### By submitting this pull request I confirm I've...

#### By submitting this pull request I confirm I've read and complied with the below requirements. - [ ] I have read the [Contribution guidelines](CONTRIBUTING.md) and I am confident that...

I modified the reverseWithStringConcat and reverseWithStringBuilder methods to handle null and empty string inputs gracefully. These changes enhance the robustness of the code and prevent potential exceptions.

Update the functions in StringsFunctions.java to handle null strings. This will make sure that the code will not run into any problems is a null string is inputed.