Nokia interview question

DSA coding and SQL queries