Skip to content

Add string algorithms: RemoveStars and ComplexNumberMultiply#7275

Merged
DenizAltunkapan merged 8 commits intoTheAlgorithms:masterfrom
SYEDMDSAAD:add-string-algorithms
Feb 18, 2026
Merged

Add string algorithms: RemoveStars and ComplexNumberMultiply#7275
DenizAltunkapan merged 8 commits intoTheAlgorithms:masterfrom
SYEDMDSAAD:add-string-algorithms

Conversation

@SYEDMDSAAD
Copy link
Contributor

Feature Added

Added two string algorithms:

  1. RemoveStars
    Removes characters affected by '*' in a string.

Example:
Input: leet**cod*e
Output: lecoe

  1. ComplexNumberMultiply
    Multiplies two complex numbers represented as strings.

Example:
Input: 1+1i , 1+1i
Output: 0+2i

Both implementations follow repository coding standards and compile successfully.

@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2026

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.33%. Comparing base (1646eda) to head (c8d3895).

Files with missing lines Patch % Lines
...in/java/com/thealgorithms/strings/RemoveStars.java 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7275   +/-   ##
=========================================
  Coverage     79.32%   79.33%           
- Complexity     6990     6995    +5     
=========================================
  Files           781      783    +2     
  Lines         22958    22976   +18     
  Branches       4510     4513    +3     
=========================================
+ Hits          18212    18227   +15     
- Misses         4019     4020    +1     
- Partials        727      729    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SYEDMDSAAD SYEDMDSAAD closed this Feb 18, 2026
@SYEDMDSAAD SYEDMDSAAD reopened this Feb 18, 2026
Copy link
Member

@DenizAltunkapan DenizAltunkapan left a comment

Choose a reason for hiding this comment

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

@DenizAltunkapan DenizAltunkapan enabled auto-merge (squash) February 18, 2026 18:21
@DenizAltunkapan DenizAltunkapan merged commit c9bda3d into TheAlgorithms:master Feb 18, 2026
7 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.

3 participants

Comments