Virtusa Interview Question

SQL, a few coding questions regarding strings and linked lists,