SGS interview question

regarding education regarding data structure