Qualcomm interview question

write a string class; some OOD questions