Infosys interview question

Based on python and Java General Hr questions Data Structures Basics