Apr-10-2019, 10:43 PM
There isn't a
max_profit
function only the max_profit
method of the Tree class, that is why it is saying its not defined.