Upside-Down Tree - Part 1 of 2

TL;DR

A full binary tree is given to you. Your job is to print it upside-down: level by level, but upside-down. There are many methods for doing so, the next post will describe three different methods.
Stay tuned!!! And don't be a nasty woman or nasty man!!!


Comments

Popular posts from this blog

Shortest Bridge – A BFS Story (with a Twist)

Classic Dynamic Programming IX

Quasi FSM (Finite State Machine) problem + Vibe