updated solutions for sysmetric tree and maximum product of sub array.