Tata Steel interview question

Basic CS fundamentals and language based questions. Also from personal projects.