Qualcomm interview question

String library coding questions. Puzzle solving questions.