Thoughtworks Interview Question

Two SQL Querys and one DSA program