Acro interview question

asked about core concepts in programming and DS