UPMC interview question

Basic Data Structure question