X interview question

base algorithms and data structures.