Pregunta de entrevista de Nokia

Inverse binary tree with help of python code