James58899 says to YSITD https://stackoverflow.com/questions/26003893/why-do-we-define-int-min-as-int-max-1