Binary Tree Right Side View — Trees

Report only the rightmost value visible at each depth of a branching structure, ordered top to bottom; an empty one shows nothing.

Trees · Medium

More in Trees

All algorithm problems