- 2
Solve this problem ? Follow me for daily challenges
Given a singly linked list, find the middle of the linked list. For example, if the given linked list is 1->2->3->4->5 then the output should be 3. If there are even nodes, then there would be two middle nodes, we need to print the second middle element. For example, if given linked list is 1->2->3->4->5->6 then the output should be 4.
2 Respostas
+ 3
Smayra Patel
This is not a right place for challenge. Post here but read description first.
https://www.sololearn.com/Discuss/1270852/?ref=app