Qualcomm interview question

oops questions , sorting, design patterns and some everyday software problems