Confidential interview question

Python basics and some logics in collections-list,decorators