X interview question

2 data structure and algorithms 1 SQL