Question: Write a LinkedListRec class that has the following methods: size, empty, insertBefore, insertAfter, addAtHead, addAtEnd, remove, replace, peekFront, peekEnd, removeFront, removeEnd, toString. Use recursion to
Write a LinkedListRec class that has the following methods: size, empty, insertBefore, insertAfter, addAtHead, addAtEnd, remove, replace, peekFront, peekEnd, removeFront, removeEnd, toString. Use recursion to implement most of these methods.
Your program should ask the user to enter a string and then ask the user for the target character.
Java code please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
