• + 2 comments

    I agree. I think building a tree from the input stream, combined with the wording of the question really adds to the complexity of this rather basic problem.

    Should be a "Moderate".