Sir/Mam why we keep op1=op2=op3=INT_MAX.
Doubt in code of minimum steos top down code
Hi,
We are assuming that number of steps will not be greater than INT_MAX.Since, we are calculating the minimum value we will return INT_MAX if we do not go through certain path.
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.