If first and second have grandchildren , enqueue them in reverse order
if first . left . left is not None : NEW_LINE INDENT q . append ( first . left ) NEW_LINE q . append ( second . right ) NEW_LINE q . append ( first . right ) NEW_LINE q . append ( second . left ) NEW_LINE DEDENT