Discover how IDNLearn.com can help you find the answers you need quickly and easily. Our platform is designed to provide accurate and comprehensive answers to any questions you may have.

This method adds newValue to the list at the specified index. If the index is invalid for the list, throw an IndexOutOfBoundsException. Note that the last valid index is the size of the list; this would mean adding to the back of the list. Call any existing methods of LinkedList and LLNode as needed.