X interview question

Algorithm, data structures, system design