Remove Greater Nodes

Company: IBM_28thjuly

Difficulty: easy