3c40937c66
Created utils methods Refactored ShellSort
14 lines
228 B
Java
14 lines
228 B
Java
package Sorts;
|
|
|
|
/**
|
|
* The common interface of most algorithms
|
|
*
|
|
* @author Podshivalov Nikita (https://github.com/nikitap492)
|
|
*
|
|
**/
|
|
public interface SortAlgorithm {
|
|
|
|
<T extends Comparable<T>> T[] sort(T[] unsorted);
|
|
|
|
}
|