Check Ternary Tree Middle Child Property | FE Prep