Your task is to concatenate all elements in a linked list of strings backwards, starting at the end of the list. For example, if a linked list contains the strings

Mary, had, a, little, lamb

you should return the string "lamblittleahadMary".

Complete the following file:

WordList.java

import java.util.Arrays; import java.util.LinkedList; import java.util.ListIterator; public class WordList { public String concatenateBackwards(LinkedList<String> words) { // TODO: Complete method } // this method is used to check your work public String check(String[] elements) { LinkedList<String> words = new LinkedList<String>(); words.addAll(Arrays.asList(elements)); return concatenateBackwards(words); } }