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