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