Texas Instruments interview question

They asked basic dsa question