Fill in the code for the method called maxToFront. The inputparameter to this method is a reference pointing at the first nodein a linked list. This method should move the node with largestdata value in the linked list to the front of the list, then returnthe reference pointing at the front of the (new) list. Suppose wehave the following linked list:
7->9->12->5->17->3->null
Then the method maxToFront will move the node containing 17 tothe front of the list and return a reference pointing to the firstnode of the linked list, as given below.
17->7->9->12->5->3->null
If the list has more than one occurrence of the maximum
PayPal Gateway not configured
PayPal Gateway not configured