style: enable AvoidStarImport in checkstyle (#5141)

This commit is contained in:
Piotr Idzik
2024-05-05 20:48:56 +02:00
committed by GitHub
parent dc47e0aa42
commit 414835db11
188 changed files with 479 additions and 310 deletions

View File

@ -1,6 +1,6 @@
package com.thealgorithms.maths;
import java.util.*;
import java.util.Scanner;
/*
* @author Ojasva Jain

View File

@ -1,7 +1,8 @@
package com.thealgorithms.maths;
import java.math.BigInteger;
import java.util.*;
import java.util.ArrayList;
import java.util.List;
public class KaprekarNumbers {

View File

@ -1,6 +1,8 @@
package com.thealgorithms.maths;
import java.util.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class KeithNumber {

View File

@ -5,7 +5,9 @@ A number is a Krishnamurthy number if the sum of the factorials of the digits of
to the number itself. For example, 1, 2 and 145 are Krishnamurthy numbers. Krishnamurthy number is
also referred to as a Strong number.
*/
import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class KrishnamurthyNumber {

View File

@ -1,6 +1,6 @@
package com.thealgorithms.maths;
import java.util.*;
import java.util.Scanner;
/**
* Is a common mathematics concept to find the smallest value number

View File

@ -1,6 +1,6 @@
package com.thealgorithms.maths;
import java.util.*;
import java.util.Scanner;
/*A magic square of order n is an arrangement of distinct n^2 integers,in a square, such that the n
numbers in all rows, all columns, and both diagonals sum to the same constant. A magic square