ABC interview question

Basic programming and dsa and oops concept