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