mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-08 02:04:31 +08:00
Cleanup unused imports (#3217)
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
package com.thealgorithms.backtracking;
|
package com.thealgorithms.backtracking;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
package com.thealgorithms.maths;
|
package com.thealgorithms.maths;
|
||||||
|
|
||||||
import java.util.Random;
|
|
||||||
|
|
||||||
public class Ceil {
|
public class Ceil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
*/
|
*/
|
||||||
package com.thealgorithms.maths;
|
package com.thealgorithms.maths;
|
||||||
|
|
||||||
import java.util.*;
|
|
||||||
|
|
||||||
class DigitalRoot {
|
class DigitalRoot {
|
||||||
|
|
||||||
public static int digitalRoot(int n) {
|
public static int digitalRoot(int n) {
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
package com.thealgorithms.maths;
|
package com.thealgorithms.maths;
|
||||||
|
|
||||||
import java.util.Scanner;
|
|
||||||
public class PascalTriangle {
|
public class PascalTriangle {
|
||||||
/**
|
/**
|
||||||
*In mathematics, Pascal's triangle is a triangular array of the binomial coefficients that arises
|
*In mathematics, Pascal's triangle is a triangular array of the binomial coefficients that arises
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
package com.thealgorithms.maths;
|
package com.thealgorithms.maths;
|
||||||
|
|
||||||
import java.util.Scanner;
|
|
||||||
|
|
||||||
|
|
||||||
public class SquareRootWithBabylonianMethod {
|
public class SquareRootWithBabylonianMethod {
|
||||||
/**
|
/**
|
||||||
|
@ -2,7 +2,6 @@ package com.thealgorithms.backtracking;
|
|||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
package com.thealgorithms.sorts;
|
package com.thealgorithms.sorts;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
public class DutchNationalFlagSortTest {
|
public class DutchNationalFlagSortTest {
|
||||||
|
Reference in New Issue
Block a user