Informatica Interview Question

Write a code to delete a last but one node in circular linked list. Reverse the sentence using a single array.