docs: public static <E extends Comparable<E>> E searchMin(E[] array) {
          if(array.length == 0) {
              throw new IllegalArgumentException("The array you provided does not have any elements");
          }
          
          E min = array[0];
          
          for(int i = 1; i < array.length; i++) {
              if(array[i].compareTo(min) < 0) {
                  min = array[i];
              }
          }
          
          return min;
      }