Revolut interview question

Python patterns. How does garbage collector is working? How are implemented dicts? Postgresql isolations