max sub array
num trees