X Interview Question

SQL, Dynamic Programming