Meta Interview Question

SQL and python coding round