Pluralsight interview question

a Datastructure question on stack