Could not get the right answer?

Whether the right answer should be max(global_max,value returned by function)? Or not?

YOu guys do not reply to doubts… Why??

Here the required answer will be global maximum, i think you are asking about what the function is returning, it is not the answer, it is just for maintaining the value that the current node will return to the parent node in the tree during the time recursion is happening.

One more thing,our team at Coding Blocks try our level best to resolve the doubts as soon as possible, we just don’t want to give you the solution for the question, we first want to understand actually where you are facing the issue and explain it according to your way, but sometimes what happens is there are a lot of doubts to solve which have been already asked and it takes time to respond to all them, it is nothing like we don’t reply to doubts or anything.

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.