Take a step back and write down the logic of how the method as written will work. For instance, look at the line of code below
FindMaxElement(maxElement.left);
This method call will return...
Type: Posts; User: copeg
Take a step back and write down the logic of how the method as written will work. For instance, look at the line of code below
FindMaxElement(maxElement.left);
This method call will return...
You are welcome. Is your problem solved?
You must make sure to manage the returned values when you call FindMaxElement - currently you call the method but if the returned value is greater than max, you do not set max.
For future...