Qualcomm interview question

Linked list node removal. String reversal