Pregunta de entrevista de IBM

They asked me to write code for reversing the string, bubble sort and binary search