Truweight interview question

About basic data structure