update math/max math/min: add process of char *, string, char * and char *, char **