Genisys Group interview question

SQL queries and Data Structure problem-solving questions.