mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-26 05:59:22 +08:00
style: enable AvoidStarImport
in checkstyle (#5141)
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
package com.thealgorithms.searches;
|
||||
|
||||
import com.thealgorithms.datastructures.Node;
|
||||
import java.util.*;
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.Queue;
|
||||
|
||||
/**
|
||||
* @author: caos321
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.thealgorithms.searches;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Scanner;
|
||||
|
||||
/*
|
||||
Problem Statement:
|
||||
|
@ -1,6 +1,9 @@
|
||||
package com.thealgorithms.searches;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* An implementation of the Quickselect algorithm as described
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Explanation:- https://www.tutorialspoint.com/java-program-for-binary-search-recursive
|
||||
package com.thealgorithms.searches;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Scanner;
|
||||
|
||||
// Create a SearchAlgorithm class with a generic type
|
||||
abstract class SearchAlgorithm<T extends Comparable<T>> {
|
||||
|
@ -1,6 +1,8 @@
|
||||
package com.thealgorithms.searches;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class UnionFind {
|
||||
|
||||
|
Reference in New Issue
Block a user