+ 1

Square elements of linked list.

Write a program to square each element in a Integer linkedlist. I/P: 1 4 7 3 2 5 O/P: 1 16 49 9 4 25

7th Oct 2017, 6:32 AM
Anuj Khetan
Anuj Khetan - avatar
2 Answers
+ 3
I've already made it. This post is a challenge for newbies.
10th Oct 2017, 6:39 AM
Anuj Khetan
Anuj Khetan - avatar
10th Oct 2017, 5:38 AM
Gautam Kumar