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