Red Hat Interview Question

coding question on patterns, reverse the string till ith index, reverse a linked list, combine two sorted linked list to one