VassarLabs interview question

Basic oops concept Dsa problem solving