Quantiphi Interview Question

about dbms and python oops