thinQ24 interview question

Data structures in python and how to get data from backend