HashedIn by Deloitte interview question

SQL queries, data structures and algorithms