Infosys interview question

Python question; data structures and algorithms