HCLTech interview question

Basic dsa questions which where very easy