Binary trees X29149


Statement
 

pdf   zip

html
Public test cases
  • Input

    5
    65
    37
    12
    89
    32
    9
    4
    -1
    

    Output

    4 5 9 12 32 37 65 89
    4 9 32 12 37 89 65 5
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Haskell Java Python