ConsultAdd interview question

Core computer Science theory for the first round