Samsung Electronics interview question

Python data structures were the main focus of the coding round