Bluecore interview question

I was given two sorting algorithms, and one string manipulation algorithm.