Anonymous interview question

DBMS Data structures Python Coding