Tesco Bengaluru interview question

data structures and coding in C