pre order binary tree no recurring solution attack from myself