Solve this problem.
Write a pseudo code that can take N integer numbers in a link list and print the list in
reverse order?
Answers
Answered by
4
Input: Head of following linked list
1->2->3->4->NULL
Output: Linked list should be changed to,
4->3->2->1->NULL
Input: Head of following linked list
1->2->3->4->5->NULL
Output: Linked list should be changed to,
5->4->3->2->1->NULL
Input: NULL
Output: NULL
Input: 1->NULL
Output: 1->NULL
Similar questions
Math,
4 months ago
Math,
8 months ago
Computer Science,
8 months ago
English,
1 year ago
Math,
1 year ago