Need of the INT_MAX value

why do we need intmax in the program

@tharun Can you please tell me what alternate way are you thinking, in place of returning INT_MAX. Yes you can use a large value lets 1e9 etc. but what else are you thinking.