Skip to content

Commit d404af1

Browse files
resolved all issues
1 parent 6f2c907 commit d404af1

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

src/main/java/com/thealgorithms/shufflealogrithm/UniquePairShuffle.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ static void main(String[] args) {
5757
}
5858
}
5959
}
60-

src/main/java/com/thealgorithms/shufflealogrithm/WeightedShuffle.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ private WeightedShuffle() {
1919
*/
2020
public static void weightedShuffle(int[] array, int[] weights) {
2121
// Edge case: Check if weights match the array size
22-
if (array == null || weights == null || array.length!= weights.length) {
22+
if (array == null || weights == null || array.length != weights.length) {
2323
return;
2424
}
2525

@@ -53,5 +53,3 @@ public static void main(String[] args) {
5353
}
5454
}
5555
}
56-
57-
// Add a newline character here (just press Enter)

src/test/java/com/thealgorithms/datastructures/trees/BinaryTreeTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ void test4() {
8181
"Removing a nonexistent node should return false.");
8282
}
8383
}
84-

src/test/java/com/thealgorithms/shufflealgorithm/WeightedShuffleTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,3 @@ void testWeightedShuffleZeroWeights() {
106106
Assertions.assertTrue(firstElementMatches);
107107
}
108108
}
109-
110-
// Add a newline character here (just press Enter)

0 commit comments

Comments
 (0)