MAQ Software Interview Question

Recursion, DBMS, Transaction, some logical questions, puzzles