Refactor Code Style (#4151)

This commit is contained in:
Saurabh Rahate
2023-04-15 13:55:54 +05:30
committed by GitHub
parent 1ce907625b
commit 1dc388653a
100 changed files with 293 additions and 319 deletions

View File

@ -12,5 +12,5 @@ public interface MatrixSearchAlgorithm {
* @param <T> Comparable type
* @return array containing the first found coordinates of the element
*/
<T extends Comparable<T>> int[] find(T matrix[][], T key);
<T extends Comparable<T>> int[] find(T[][] matrix, T key);
}

View File

@ -12,5 +12,5 @@ public interface SearchAlgorithm {
* @param <T> Comparable type
* @return first found index of the element
*/
<T extends Comparable<T>> int find(T array[], T key);
<T extends Comparable<T>> int find(T[] array, T key);
}