Texas Instruments interview question

Determining which sorting algorithm is best for certain situations? Followed by a question about audio processing?