Regarding leture

if we will put include = exclude = INT_MIN then how we will get correct ans …at the end of video

See bhaiya has declared both of them as 0 to handle side case. What if both your exclude and include are INT_MIN , Then answer for this will be INT_Min only. Maximum of these two. If this case occur. Then we should return 0, not INT_MIN.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.