Draw a singly linked list where each node contains a letter of your full name withoutconsidering any space. [You must show proper locations and indexes.]Do the following operations (stepwise):a. Reverse the list (in-place – draw all the steps)b. Insert ‘P’ in the first positionc. Insert ‘A’ in position 2d. Left rotate the list 4 timese. Delete the second element of the listf. Insert ‘G’ in the last positiong. Right rotate the list 3 timesh. Right shift the list 2 timesi. Sort the list in alphabetical order (show all the steps).
Pleaseee answer in Java..
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here