Editorial Solution wrong


#1

Editorial solution for JAVA array is incorrect.

It’s checking only for left and not right node. Please fix.


#2

Yeah, You are right, We will correct it and respond to you shortly.

Regards