Skip to content

Commit a3d7a97

Browse files
authored
Refactor comments in ComplexNumberMultiplication.java
Removed unnecessary whitespace and comments for clarity.
1 parent 5a4a28a commit a3d7a97

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/thealgorithms/strings/ComplexNumberMultiplication.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
/**
66
* Implementation of complex number multiplication.
7-
*
87
* Given two strings representing complex numbers in the form "a+bi" and "c+di",
98
* this class provides a method to multiply them and return the result
109
* as a string in the same format.
1110
*
1211
* Example:
1312
* Input: "1+1i", "1+1i"
1413
* Output: "0+2i"
15-
*
1614
*
1715
* Formula used:
1816
* (a + bi) × (c + di) = (ac - bd) + (ad + bc)i

0 commit comments

Comments
 (0)