m2skills

reverse starting ll output

Jan 30th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Program to reverse first k nodes of the Linked List
  2. 1 --> 2 --> 3 --> 4 --> 5 --> 6 --> 7 --> 8 --> 9 --> 10 --> 11
  3. Reversing the first 4 nodes of the linked list
  4. 4 --> 3 --> 2 --> 1 --> 5 --> 6 --> 7 --> 8 --> 9 --> 10 --> 11
Add Comment
Please, Sign In to add comment